- winio.c:nanogetstr() - Remove unnecessary reset of x since it is now handled elsewhere (David Lawrence Ramsey)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1433 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2003-02-08 21:49:13 +00:00
parent bcaeeb4411
commit bfc8b2ac4d
2 changed files with 4 additions and 4 deletions

View File

@ -19,6 +19,10 @@ CVS code
(David Benbennick).
colortoint, parse_colors()
- Don't add strings with invalid fg colors at all.
- winio.c:
nanogetstr()
- Remove unnecessary reset of x since it is now handled
elsewhere (David Lawrence Ramsey).
- nano.1, nano.1.html:
- Add initialization file comments, change some options from
bracketed to underlined to emphasize that they are not

View File

@ -256,10 +256,6 @@ int nanogetstr(int allowtabs, const char *buf, const char *def,
}
#endif
/* We canceled putting in an answer; reset x */
if (kbinput == NANO_CANCEL_KEY)
x = -1;
return t->val;
}
}