Commit 5cbd990b authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

in parse_argument(), rename variable ptr_bak to ptr_save, for

consistency


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3353 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 979de230
Showing with 5 additions and 2 deletions
+5 -2
......@@ -14,6 +14,9 @@ CVS code -
write_file()
- Don't free backupname before displaying it in a statusbar error
message. (DLR, found by Bill Marcum)
- rcfile.c:
parse_argument()
- Rename variable ptr_bak to ptr_save, for consistency. (DLR)
- doc/nano.1, doc/nanorc.5, doc/rnano.1, doc/nano.texi:
- Update the copyright years to include 2006. (DLR)
- Explicitly mention that all regexes should be extended regular
......
......@@ -151,7 +151,7 @@ char *parse_next_word(char *ptr)
* arguments can contain "'s too. */
char *parse_argument(char *ptr)
{
const char *ptr_bak = ptr;
const char *ptr_save = ptr;
char *last_quote = NULL;
assert(ptr != NULL);
......@@ -170,7 +170,7 @@ char *parse_argument(char *ptr)
ptr = NULL;
else
*ptr++ = '\0';
rcfile_error(N_("Argument %s has unterminated \""), ptr_bak);
rcfile_error(N_("Argument %s has unterminated \""), ptr_save);
} else {
*last_quote = '\0';
ptr = last_quote + 1;
......
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