aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nnn.c b/nnn.c
index 1c3f7a7..d0db051 100644
--- a/nnn.c
+++ b/nnn.c
@@ -1928,7 +1928,7 @@ show_help(char *path)
char tmp[] = "/tmp/nnnXXXXXX";
int i = 0, fd = mkstemp(tmp);
char *start, *end;
- static char helpstr[] = (
+ static char helpstr[] = {
"cKey | Function\n"
"e- + -\n"
"7↑, k, ^P | Prev entry\n"
@@ -1977,7 +1977,7 @@ show_help(char *path)
#endif
"e? | Help, settings\n"
"aQ, ^G | Quit and cd\n"
- "aq, ^X | Quit\n\n");
+ "aq, ^X | Quit\n\n"};
if (fd == -1)
return -1;