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

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