Kaynağa Gözat

Remove unnecessary special cases in cg_mark_range

master
Bert Münnich 6 yıl önce
ebeveyn
işleme
cc476be7cc
2 değiştirilmiş dosya ile 1 ekleme ve 6 silme
  1. +0
    -5
      commands.c
  2. +1
    -1
      main.c

+ 0
- 5
commands.c Dosyayı Görüntüle

@@ -218,11 +218,6 @@ bool cg_mark_range(arg_t _)
{
int i, from, to;

if (toggledidx < 0)
return true;
if (toggledidx == fileidx)
return true;

from = toggledidx;
to = fileidx;
if (fileidx < toggledidx) {


+ 1
- 1
main.c Dosyayı Görüntüle

@@ -57,7 +57,7 @@ fileinfo_t *files;
int filecnt, fileidx;
int alternate;
int markcnt;
int toggledidx = -1;
int toggledidx;

int prefix;
bool extprefix;


Yükleniyor…
İptal
Kaydet