From 5cbd990bf5bfa09d62d78bc8880c15be86399afe Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Wed, 5 Apr 2006 21:28:52 +0000 Subject: [PATCH] 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 --- ChangeLog | 3 +++ src/rcfile.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c9ec7718..5f6fc867 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/src/rcfile.c b/src/rcfile.c index 50848535..c988a905 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -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; -- 2.39.5