mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-04 00:24:26 +03:00
Improving another error message.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4868 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
127ce15d6b
commit
111071af05
@ -1,5 +1,6 @@
|
|||||||
2014-05-13 Benno Schulenberg <bensberg@justemail.net>
|
2014-05-13 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/text.c (do_linter): Make an error message somewhat clearer.
|
* src/text.c (do_linter): Make an error message somewhat clearer.
|
||||||
|
* src/rcfile.c (parse_binding): Improve another error message.
|
||||||
|
|
||||||
2014-05-12 Benno Schulenberg <bensberg@justemail.net>
|
2014-05-12 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/text.c (do_spell): Provide startup feedback, as for the linter.
|
* src/text.c (do_spell): Provide startup feedback, as for the linter.
|
||||||
|
@ -479,7 +479,7 @@ void parse_binding(char *ptr, bool dobind)
|
|||||||
if (dobind)
|
if (dobind)
|
||||||
fprintf(stderr, "newsc address is now %ld, assigned func = %ld, menu = %x\n",
|
fprintf(stderr, "newsc address is now %ld, assigned func = %ld, menu = %x\n",
|
||||||
(long)&newsc, (long)newsc->scfunc, menu);
|
(long)&newsc, (long)newsc->scfunc, menu);
|
||||||
else
|
else
|
||||||
fprintf(stderr, "unbinding \"%s\" from menu %x\n", keycopy, menu);
|
fprintf(stderr, "unbinding \"%s\" from menu %x\n", keycopy, menu);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -494,7 +494,8 @@ void parse_binding(char *ptr, bool dobind)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (check_bad_binding(newsc)) {
|
if (check_bad_binding(newsc)) {
|
||||||
rcfile_error(N_("Sorry, keystr \"%s\" is an illegal binding"), newsc->keystr);
|
rcfile_error(N_("Sorry, keystroke \"%s\" may not be rebound"), newsc->keystr);
|
||||||
|
free(newsc);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user