commit 45eda52d7ef4469306dbd3419472513ef583bb3a
parent 74af3a7419f36c81c33d04649817d02dfe3f10c0
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sat, 12 Jun 2004 21:20:33 +0000
do_yesno() comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1809 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/winio.c b/src/winio.c
@@ -2824,8 +2824,8 @@ int statusq(int allowtabs, const shortcut *s, const char *def,
int do_yesno(int all, const char *msg)
{
int ok = -2, width = 16;
- const char *yesstr; /* String of yes characters accepted */
- const char *nostr; /* Same for no */
+ const char *yesstr; /* String of yes characters accepted. */
+ const char *nostr; /* Same for no. */
const char *allstr; /* And all, surprise! */
/* Yes, no and all are strings of any length. Each string consists
@@ -2835,8 +2835,6 @@ int do_yesno(int all, const char *msg)
nostr = _("Nn");
allstr = _("Aa");
- /* Remove gettext() call for keybindings until we clear the thing
- * up. */
if (!ISSET(NO_HELP)) {
char shortstr[3]; /* Temp string for Y, N, A. */