mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Added brackets for tcc compliance (#103)
This commit is contained in:
parent
a5a15b42eb
commit
46dd9f2c4d
4
nnn.c
4
nnn.c
|
@ -1928,7 +1928,7 @@ show_help(char *path)
|
||||||
char tmp[] = "/tmp/nnnXXXXXX";
|
char tmp[] = "/tmp/nnnXXXXXX";
|
||||||
int i = 0, fd = mkstemp(tmp);
|
int i = 0, fd = mkstemp(tmp);
|
||||||
char *start, *end;
|
char *start, *end;
|
||||||
static char helpstr[] = (
|
static char helpstr[] = {
|
||||||
"cKey | Function\n"
|
"cKey | Function\n"
|
||||||
"e- + -\n"
|
"e- + -\n"
|
||||||
"7↑, k, ^P | Prev entry\n"
|
"7↑, k, ^P | Prev entry\n"
|
||||||
|
@ -1977,7 +1977,7 @@ show_help(char *path)
|
||||||
#endif
|
#endif
|
||||||
"e? | Help, settings\n"
|
"e? | Help, settings\n"
|
||||||
"aQ, ^G | Quit and cd\n"
|
"aQ, ^G | Quit and cd\n"
|
||||||
"aq, ^X | Quit\n\n");
|
"aq, ^X | Quit\n\n"};
|
||||||
|
|
||||||
if (fd == -1)
|
if (fd == -1)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in a new issue