aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Jana <engineerarun@gmail.com>2020-08-11 22:20:01 +0530
committerGravatar GitHub <noreply@github.com>2020-08-11 22:20:01 +0530
commitfb454a50468a523ecc058a2238dfc82ce3e59fd6 (patch)
tree9b3ab5da216993795d9f8082829fa8993f72bf07 /src/nnn.c
parentdc488857e11beba9aa52b3e55effbf5b98ec869a (diff)
parent6f9571a805e715d38ad6f5c7594a7e829368d617 (diff)
downloadnnn-fb454a50468a523ecc058a2238dfc82ce3e59fd6.tar.gz
Merge pull request #693 from CodeforEvolution/haikuUpdate
Haiku: General fixup, add icon, add rdef file
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 9fe153a..a6220bb 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4445,7 +4445,11 @@ static void show_help(const char *path)
}
if (g_state.fortune && getutil("fortune"))
+#ifndef __HAIKU__
pipetof("fortune -s", fp);
+#else
+ pipetof("fortune", fp);
+#endif
start = end = helpstr;
while (*end) {