Commit bfc8b2ac authored by Chris Allegretta's avatar Chris Allegretta
Browse files

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

- 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
No related merge requests found
Showing with 4 additions and 4 deletions
+4 -4
......@@ -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
......
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment