mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Fix fprint format args (#410)
Since 75061367be
we only need to fill one %c
This commit is contained in:
parent
0feb690d7d
commit
7b06480147
|
@ -3513,7 +3513,7 @@ static void show_help(const char *path)
|
||||||
if (*end == '\n') {
|
if (*end == '\n') {
|
||||||
snprintf(g_buf, CMD_LEN_MAX, "%*c%.*s",
|
snprintf(g_buf, CMD_LEN_MAX, "%*c%.*s",
|
||||||
xchartohex(*start), ' ', (int)(end - start), start + 1);
|
xchartohex(*start), ' ', (int)(end - start), start + 1);
|
||||||
fprintf(fp, g_buf, ' ', ' ');
|
fprintf(fp, g_buf, ' ');
|
||||||
start = end + 1;
|
start = end + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue