From: arcadius3d <arcadius@tuta.io>
Date: Tue, 10 Apr 2018 01:28:52 +0000 (-0300)
Subject: Added brackets for tcc compliance (#103)
X-Git-Tag: v1.8~22
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=46dd9f2c4db16bc51f522b27f5e5a2a7298a5a62;p=nnn.git

Added brackets for tcc compliance (#103)
---

diff --git a/nnn.c b/nnn.c
index 1c3f7a7b..d0db0519 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;