tweaks: reshuffle two declarations for a more consistent order

This commit is contained in:
Benno Schulenberg 2017-03-29 10:35:11 +02:00
parent 1f9a6ab336
commit c7282e8821
1 changed files with 2 additions and 2 deletions

View File

@ -352,8 +352,8 @@ void do_next_word_void(void)
* If be_clever is FALSE, just do a simple home. */ * If be_clever is FALSE, just do a simple home. */
void do_home(bool be_clever) void do_home(bool be_clever)
{ {
size_t was_column = xplustabs();
filestruct *was_current = openfile->current; filestruct *was_current = openfile->current;
size_t was_column = xplustabs();
bool moved_off_chunk = TRUE; bool moved_off_chunk = TRUE;
#ifndef NANO_TINY #ifndef NANO_TINY
bool moved = FALSE; bool moved = FALSE;
@ -415,9 +415,9 @@ void do_home_void(void)
* it's possible. If be_clever is FALSE, just do a simple end. */ * it's possible. If be_clever is FALSE, just do a simple end. */
void do_end(bool be_clever) void do_end(bool be_clever)
{ {
filestruct *was_current = openfile->current;
size_t was_column = xplustabs(); size_t was_column = xplustabs();
size_t line_len = strlen(openfile->current->data); size_t line_len = strlen(openfile->current->data);
filestruct *was_current = openfile->current;
bool moved_off_chunk = TRUE; bool moved_off_chunk = TRUE;
#ifndef NANO_TINY #ifndef NANO_TINY