ソースを参照

Do not pick multiple times in selection mode

master
Arun Prakash Jana 6年前
コミット
8ea41dd0e5
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: A75979F35C080412
1個のファイルの変更7行の追加4行の削除
  1. +7
    -4
      src/nnn.c

+ 7
- 4
src/nnn.c ファイルの表示

@@ -3973,11 +3973,14 @@ nochange:
if (!ncp)
writecp(NULL, 0);

r = mkpath(path, dents[cur].name, newpath);
appendfpath(newpath, r);
/* Do not select if already selected */
if (!(dents[cur].flags & FILE_COPIED)) {
r = mkpath(path, dents[cur].name, newpath);
appendfpath(newpath, r);

++ncp;
dents[cur].flags |= FILE_COPIED;
++ncp;
dents[cur].flags |= FILE_COPIED;
}

/* move cursor to the next entry if this is not the last entry */
if (cur != ndents - 1)


読み込み中…
キャンセル
保存