commit 7b064801471bcafd3d144e11dcafc5ced69905a7
parent 0feb690d7d29bbfc55048c1b8f00e5fe699413b6
Author: Maxim Baz <git@maximbaz.com>
Date: Tue, 17 Dec 2019 11:42:16 +0100
Fix fprint format args (#410)
Since 75061367bed957677a7f15ae5247f771530b24b7 we only need to fill one %c
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -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;
}