mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
Have a distinct unused msg for index 0
This commit is contained in:
parent
e901615fcc
commit
3387f0a6ac
1 changed files with 5 additions and 3 deletions
|
@ -516,7 +516,7 @@ static char * const utils[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Common strings */
|
/* Common strings */
|
||||||
#define MSG_INVALID_KEY 0
|
#define MSG_ZERO 0 /* Unused */
|
||||||
#define MSG_0_ENTRIES 1
|
#define MSG_0_ENTRIES 1
|
||||||
#define STR_TMPFILE 2
|
#define STR_TMPFILE 2
|
||||||
#define MSG_0_SELECTED 3
|
#define MSG_0_SELECTED 3
|
||||||
|
@ -557,12 +557,13 @@ static char * const utils[] = {
|
||||||
#define MSG_LAZY 38
|
#define MSG_LAZY 38
|
||||||
#define MSG_FIRST 39
|
#define MSG_FIRST 39
|
||||||
#define MSG_RM_TMP 40
|
#define MSG_RM_TMP 40
|
||||||
|
#define MSG_INVALID_KEY 41
|
||||||
#ifndef DIR_LIMITED_SELECTION
|
#ifndef DIR_LIMITED_SELECTION
|
||||||
#define MSG_DIR_CHANGED 41 /* Must be the last entry */
|
#define MSG_DIR_CHANGED 42 /* Must be the last entry */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const char * const messages[] = {
|
static const char * const messages[] = {
|
||||||
"invalid key",
|
"",
|
||||||
"0 entries",
|
"0 entries",
|
||||||
"/.nnnXXXXXX",
|
"/.nnnXXXXXX",
|
||||||
"0 selected",
|
"0 selected",
|
||||||
|
@ -603,6 +604,7 @@ static const char * const messages[] = {
|
||||||
"unmount failed! try lazy?",
|
"unmount failed! try lazy?",
|
||||||
"first file (\')/char?",
|
"first file (\')/char?",
|
||||||
"remove tmp file?",
|
"remove tmp file?",
|
||||||
|
"invalid key",
|
||||||
#ifndef DIR_LIMITED_SELECTION
|
#ifndef DIR_LIMITED_SELECTION
|
||||||
"dir changed, range sel off", /* Must be the last entry */
|
"dir changed, range sel off", /* Must be the last entry */
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue