From 7b064801471bcafd3d144e11dcafc5ced69905a7 Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Tue, 17 Dec 2019 11:42:16 +0100 Subject: [PATCH] Fix fprint format args (#410) Since 75061367bed957677a7f15ae5247f771530b24b7 we only need to fill one %c --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index 3bbca078..378a86a4 100644 --- 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; }