diff options
author | sin <sin@2f30.org> | 2019-08-22 17:34:16 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2019-08-22 17:34:16 +0100 |
commit | b1935acd165dfe91f57ec9e814588cc33ec0e31f (patch) | |
tree | 5a8f54d2b4cc6d5cbe4ab2137229636ef36651d4 | |
parent | 1685b556f23b8c4782e91e020ad74ffcda8010fb (diff) | |
download | noice-b1935acd165dfe91f57ec9e814588cc33ec0e31f.tar.gz |
Rename NOPENCMD to NOPEN to be consistent with env variable naming
-rw-r--r-- | noice.c | 2 | ||||
-rw-r--r-- | noiceconf.def.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 index d86fd9c..edb0f52 100644 --- 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 */ |