nano

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

commit ca1a82ecab630fb947069120038d2323d50c6784
parent f57b886bed9cf671e2c15e7eb164ed20bec49e9c
Author: Chris Allegretta <chrisa@asty.org>
Date:   Wed,  3 Oct 2001 15:18:41 +0000

- rcfile.c: - Fix incorrect argument in fill and tabsize error message (Nathan Heagy)


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@828 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

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

diff --git a/ChangeLog b/ChangeLog @@ -74,6 +74,8 @@ CVS code - - rcfile.c: - NUM_RCOPTS fix (DLR). - Add tabsize support to rc file (Nathan Heagy). + - Fix incorrect argument in fill and tabsize error message + (Nathan Heagy) - search.c: - Changed search prompt to "Search" followed by a list of bracketed, free-standing modifiers that do not imply a grammar, diff --git a/rcfile.c b/rcfile.c @@ -194,7 +194,7 @@ void parse_rcfile(FILE *rcstream, char *filename) if ((i = atoi(option)) < MIN_FILL_LENGTH) { rcfile_msg(&errors, _("Error in %s on line %d: requested fill size %d too small"), - filename, lineno, option); + filename, lineno, i); } else fill = i; @@ -203,7 +203,7 @@ void parse_rcfile(FILE *rcstream, char *filename) if ((i = atoi(option)) <= 0) { rcfile_msg(&errors, _("Error in %s on line %d: requested tab size %d too small"), - filename, lineno, option); + filename, lineno, i); } else { tabsize = i; }