From: David Lawrence Ramsey Date: Sat, 9 Oct 2004 20:10:55 +0000 (+0000) Subject: cosmetic fixes X-Git-Tag: v1.3.5~139 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b6377c9d14b6dc35528458f9eeb6fadbf12a49ef;p=nano.git cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1981 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/search.c b/src/search.c index b8e33048..9fc5ffe8 100644 --- a/src/search.c +++ b/src/search.c @@ -979,7 +979,7 @@ void do_find_bracket(void) char ch_under_cursor, wanted_ch; const char *pos, *brackets = "([{<>}])"; char regexp_pat[] = "[ ]"; - size_t old_pww, current_x_save; + size_t current_x_save, old_pww; int count = 1; long flags_save; filestruct *current_save; @@ -995,9 +995,9 @@ void do_find_bracket(void) assert(strlen(brackets) % 2 == 0); wanted_ch = brackets[(strlen(brackets) - 1) - (pos - brackets)]; - old_pww = placewewant; - current_x_save = current_x; current_save = current; + current_x_save = current_x; + old_pww = placewewant; flags_save = flags; SET(USE_REGEXP); @@ -1036,8 +1036,8 @@ void do_find_bracket(void) } else { /* Didn't find either a left or right bracket. */ statusbar(_("No matching bracket")); - current_x = current_x_save; current = current_save; + current_x = current_x_save; update_line(current, current_x); break; }