commit b1935acd165dfe91f57ec9e814588cc33ec0e31f
parent 1685b556f23b8c4782e91e020ad74ffcda8010fb
Author: sin <sin@2f30.org>
Date: Thu, 22 Aug 2019 17:34:16 +0100
Rename NOPENCMD to NOPEN to be consistent with env variable naming
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/noice.c b/noice.c
@@ -650,7 +650,7 @@ nochange:
goto begin;
case S_IFREG:
exitcurses();
- run = xgetenv("NOPEN", NOPENCMD);
+ run = xgetenv("NOPEN", NOPEN);
r = spawnlp(path, run, run, newpath, (void *)0);
initcurses();
if (r == -1) {
diff --git a/noiceconf.def.h b/noiceconf.def.h
@@ -3,7 +3,7 @@
#define CURSR " > "
#define EMPTY " "
-#define NOPENCMD "nopen"
+#define NOPEN "nopen"
int dirorder = 0; /* Set to 1 to sort by directory first */
int mtimeorder = 0; /* Set to 1 to sort by time modified */