tweaks: rename a variable, to get out of the way of the next commit

master
Benno Schulenberg 2019-06-09 19:30:29 +02:00
parent ca77254968
commit 3457039cee
1 changed files with 3 additions and 3 deletions

View File

@ -3145,11 +3145,11 @@ void complete_a_word(void)
/* Find the start of the fragment that the user typed. */
start_of_shard = openfile->current_x;
while (start_of_shard > 0) {
size_t step_left = move_mbleft(openfile->current->data, start_of_shard);
size_t oneleft = move_mbleft(openfile->current->data, start_of_shard);
if (!is_word_mbchar(&openfile->current->data[step_left], FALSE))
if (!is_word_mbchar(&openfile->current->data[oneleft], FALSE))
break;
start_of_shard = step_left;
start_of_shard = oneleft;
}
/* If there is no word fragment before the cursor, do nothing. */