瀏覽代碼

Use au for apparent size

master
Arun Prakash Jana 7 年之前
父節點
當前提交
d4f9bcb212
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: A75979F35C080412
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      nnn.c

+ 3
- 3
nnn.c 查看文件

@@ -2439,11 +2439,11 @@ redraw(char *path)
i = snprintf(buf, 64, "%d/%d ", cur + 1, ndents);

if (cfg.apparentsz)
buf[i++] = 'a', buf[i++] = 'p';
buf[i++] = 'a';
else
buf[i++] = 'd', buf[i++] = 'u';
buf[i++] = 'd';

i += snprintf(buf + i, 64, ": %s (%lu files) ", coolsize(dir_blocks << BLK_SHIFT), num_files);
i += snprintf(buf + i, 64, "u: %s (%lu files) ", coolsize(dir_blocks << BLK_SHIFT), num_files);
snprintf(buf + i, NAME_MAX, "vol: %s free [%s%s]",
coolsize(get_fs_info(path, FREE)), unescape(dents[cur].name, 0), get_file_sym(dents[cur].mode));
}


Loading…
取消
儲存