]> git.wh0rd.org Git - nano.git/commitdiff
Improve the layout of the fatal error message.
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 7 Apr 2014 20:47:26 +0000 (20:47 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Mon, 7 Apr 2014 20:47:26 +0000 (20:47 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4745 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/rcfile.c

index f4a13013093589cc7fded37b01bb133e34786bdd..449860e023bcb8e80a75a51a6a45e2ee41becde1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
        * src/global.c (shortcut_init): Allow M-J after an --enable-justify.
        * src/rcfile.c (parse_rcfile): The user documentation only speaks
        of options, not of flags.  Make the error messages conform.
+       * src/rcfile.c (check_vitals_mapped): Improve layout of message.
 
 2014-04-06  Benno Schulenberg  <bensberg@justemail.net>
        * src/global.c (shortcut_init): Limit M-T (cut-till-end-of-file) to
index a77dfa18a19a3b7269501662b3ea4944406c8a32..5777ee75d3a1e90ece2b60ca7ca20d941b875f20 100644 (file)
@@ -997,9 +997,9 @@ static void check_vitals_mapped(void)
            if (f->scfunc == vitals[v] && f->menus & inmenus[v]) {
                const sc *s = first_sc_for(inmenus[v], f->scfunc);
                if (!s) {
-                   fprintf(stderr, _("Fatal error: no keys mapped for function \"%s\".\n"),
-                       f->desc);
-                   fprintf(stderr, _("Exiting.  If needed, use nano with the -I option "
+                   fprintf(stderr, _("Fatal error: no keys mapped for function "
+                                    "\"%s\".  Exiting.\n"), f->desc);
+                   fprintf(stderr, _("If needed, use nano with the -I option "
                                     "to adjust your nanorc settings.\n"));
                    exit(1);
                }