nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit c2518dd5f0c9a8a80c8f0cdf9c2d298eb046c90b
parent 34a20f883968e26d44e87cd7534287d59e2cad04
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sun, 17 Apr 2016 16:45:50 +0200

inserting: differentiate not finding a file from not finding a string

Because it is a little clearer, and it is what Pico does too.

This partly fixes https://savannah.gnu.org/bugs/?47721.

Diffstat:
Msrc/files.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/files.c b/src/files.c @@ -995,7 +995,7 @@ int open_file(const char *filename, bool newfie, bool quiet, FILE **f) statusbar(_("New File")); return -2; } - statusbar(_("\"%s\" not found"), filename); + statusbar(_("File \"%s\" not found"), filename); beep(); return -1; } else if (S_ISDIR(fileinfo.st_mode) || S_ISCHR(fileinfo.st_mode) ||