Commit 52e5f231 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

more cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2268 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 6 additions and 6 deletions
+6 -6
...@@ -2384,8 +2384,8 @@ bool begpar(const filestruct *const foo) ...@@ -2384,8 +2384,8 @@ bool begpar(const filestruct *const foo)
* line. */ * line. */
void do_para_begin(void) void do_para_begin(void)
{ {
const filestruct *old_current = current; const filestruct *current_save = current;
const size_t old_pww = placewewant; const size_t pww_save = placewewant;
current_x = 0; current_x = 0;
placewewant = 0; placewewant = 0;
...@@ -2397,7 +2397,7 @@ void do_para_begin(void) ...@@ -2397,7 +2397,7 @@ void do_para_begin(void)
} while (!begpar(current)); } while (!begpar(current));
} }
edit_redraw(old_current, old_pww); edit_redraw(current_save, pww_save);
} }
bool inpar(const char *str) bool inpar(const char *str)
...@@ -2412,8 +2412,8 @@ bool inpar(const char *str) ...@@ -2412,8 +2412,8 @@ bool inpar(const char *str)
* down to the end of a paragraph, then one line farther. */ * down to the end of a paragraph, then one line farther. */
void do_para_end(void) void do_para_end(void)
{ {
const filestruct *const old_current = current; const filestruct *const current_save = current;
const size_t old_pww = placewewant; const size_t pww_save = placewewant;
current_x = 0; current_x = 0;
placewewant = 0; placewewant = 0;
...@@ -2430,7 +2430,7 @@ void do_para_end(void) ...@@ -2430,7 +2430,7 @@ void do_para_end(void)
if (current->next != NULL) if (current->next != NULL)
current = current->next; current = current->next;
edit_redraw(old_current, old_pww); edit_redraw(current_save, pww_save);
} }
/* Put the next par_len lines, starting with first_line, into the /* Put the next par_len lines, starting with first_line, into the
......
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