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-d3aeb78583b8master
parent
979de2309b
commit
5cbd990bf5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue