nano

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

commit fce54a724d70d11d238b4f329943c8faf08d1eb5
parent 4ae1b99c92bedf8a886d05672426f8c2281a0e74
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun, 27 May 2018 11:35:52 -0500

tweaks: fix some grammar plus a typo in the comments

Diffstat:
Msrc/rcfile.c | 2+-
Msrc/text.c | 2+-
Msrc/winio.c | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/rcfile.c b/src/rcfile.c @@ -511,7 +511,7 @@ bool is_good_file(char *file) if (access(file, R_OK) != 0) return FALSE; - /* If the thing exists, it may not be a directory nor a device. */ + /* If the thing exists, it may be neither a directory nor a device. */ if (stat(file, &rcinfo) != -1 && (S_ISDIR(rcinfo.st_mode) || S_ISCHR(rcinfo.st_mode) || S_ISBLK(rcinfo.st_mode))) { rcfile_error(S_ISDIR(rcinfo.st_mode) ? _("\"%s\" is a directory") : diff --git a/src/text.c b/src/text.c @@ -700,7 +700,7 @@ void do_undo(void) switch (u->type) { case ADD: /* TRANSLATORS: The next thirteen strings describe actions - * that are undone or redone. It are all nouns, not verbs. */ + * that are undone or redone. They are all nouns, not verbs. */ undidmsg = _("text add"); if (u->xflags == WAS_FINAL_LINE && !ISSET(NO_NEWLINES)) remove_magicline(); diff --git a/src/winio.c b/src/winio.c @@ -984,7 +984,7 @@ int convert_sequence(const int *seq, size_t length, int *consumed) } break; #ifndef NANO_TINY - case '9': /* To accomodate iTerm2 in "xterm mode". */ + case '9': /* To accommodate iTerm2 in "xterm mode". */ case '3': switch (seq[4]) { case 'A': /* Esc [ 1 ; 3 A == Alt-Up on xterm. */