src/nnn.c | 8 ++++---- diff --git a/src/nnn.c b/src/nnn.c index 7b108b65b45e0e369386e9529eac60cae3f7ec25..8328718ce2734e38cd04895c64d310566435ada4 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -518,8 +518,8 @@ ".nmv", }; /* Common strings */ -#define MSG_0_ENTRIES 0 -#define MSG_INVALID_KEY 1 +#define MSG_INVALID_KEY 0 +#define MSG_0_ENTRIES 1 #define STR_TMPFILE 2 #define MSG_0_SELECTED 3 #define MSG_CANCEL 4 @@ -565,8 +565,8 @@ #define MSG_DIR_CHANGED 42 /* Must be the last entry */ #endif static const char * const messages[] = { - "0 entries", "invalid key", + "0 entries", "/.nnnXXXXXX", "0 selected", "cancelled", @@ -7321,7 +7321,7 @@ for (i = entries - 1; i >= 0; --i) free(paths[i]); malloc_1: if (msgnum) { - if (g_state.pluginit) { + if (home) { /* We are past init stage */ printmsg(messages[msgnum]); xdelay(XDELAY_INTERVAL_MS); } else