Browse Source

Fix fprint format args (#410)

Since 75061367be we only need to fill one %c
master
Maxim Baz Mischievous Meerkat 5 years ago
parent
commit
7b06480147
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/nnn.c

+ 1
- 1
src/nnn.c View File

@@ -3513,7 +3513,7 @@ static void show_help(const char *path)
if (*end == '\n') {
snprintf(g_buf, CMD_LEN_MAX, "%*c%.*s",
xchartohex(*start), ' ', (int)(end - start), start + 1);
fprintf(fp, g_buf, ' ', ' ');
fprintf(fp, g_buf, ' ');
start = end + 1;
}



Loading…
Cancel
Save