]> Sergey Matveev's repositories - nnn.git/commitdiff
SEL_FIRST now displays the correct message (#556)
author0xACE <0xACE@users.noreply.github.com>
Tue, 5 May 2020 12:19:26 +0000 (14:19 +0200)
committerGitHub <noreply@github.com>
Tue, 5 May 2020 12:19:26 +0000 (17:49 +0530)
A bit scary when you get prompted to remove a file but you wanted to
select a file.

I also made sure all strings are correctly ordered.

src/nnn.c

index f915ca791ba00b99fae901d8ee050464aa01587a..789e80d177e6293a1d3988beaf6ada779939c70c 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -565,10 +565,10 @@ static const char * const messages[] = {
        "invalid regex",
        "'a'u / 'd'u / 'e'xtn / 'r'ev / 's'ize / 't'ime / 'v'er / 'c'lear?",
        "unmount failed! try lazy?",
+       "first file (\')/char?",
        "remove tmp file?",
        "unchanged",
        "cancelled",
-       "first file (\')/char?",
        "0 entries",
 #ifndef DIR_LIMITED_SELECTION
        "dir changed, range sel off", /* Must be the last entry */