Rename NOPENCMD to NOPEN to be consistent with env variable naming - noice - small file browser (mirror / fork from 2f30.org)
 (HTM) git clone git://git.codemadness.org/noice
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit b1935acd165dfe91f57ec9e814588cc33ec0e31f
 (DIR) parent 1685b556f23b8c4782e91e020ad74ffcda8010fb
 (HTM) 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:
         M noice.c                             |       2 +-
         M noiceconf.def.h                     |       2 +-
       
       2 files changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) 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) {
 (DIR) 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 */