nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit bfc8b2ac4de4c4c1810433bcaded94c8f1b92a6b
parent bcaeeb4411debb5ba07d88f9cf68a6ca841a15ae
Author: Chris Allegretta <chrisa@asty.org>
Date:   Sat,  8 Feb 2003 21:49:13 +0000

- 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

Diffstat:
MChangeLog | 4++++
Mwinio.c | 4----
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -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 diff --git a/winio.c b/winio.c @@ -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; } }