tweaks: correct a typo, improve two indentations, and rewrap a line
parent
a0506a15ee
commit
2b97d6563d
|
@ -173,7 +173,7 @@ int do_statusbar_input(bool *finished)
|
||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Insert the given short burst of bytes into the anwer. */
|
/* Insert the given short burst of bytes into the answer. */
|
||||||
void inject_into_answer(char *burst, size_t count)
|
void inject_into_answer(char *burst, size_t count)
|
||||||
{
|
{
|
||||||
/* First encode any embedded NUL byte as 0x0A. */
|
/* First encode any embedded NUL byte as 0x0A. */
|
||||||
|
|
|
@ -3113,7 +3113,7 @@ void do_wordlinechar_count(void)
|
||||||
* until we reach the end of the file, incrementing the total word
|
* until we reach the end of the file, incrementing the total word
|
||||||
* count whenever we're on a word just before moving. */
|
* count whenever we're on a word just before moving. */
|
||||||
while (openfile->current != openfile->filebot ||
|
while (openfile->current != openfile->filebot ||
|
||||||
openfile->current->data[openfile->current_x] != '\0') {
|
openfile->current->data[openfile->current_x] != '\0') {
|
||||||
if (do_next_word(FALSE, TRUE))
|
if (do_next_word(FALSE, TRUE))
|
||||||
words++;
|
words++;
|
||||||
}
|
}
|
||||||
|
@ -3145,8 +3145,7 @@ void do_verbatim_input(void)
|
||||||
char *bytes;
|
char *bytes;
|
||||||
size_t count;
|
size_t count;
|
||||||
|
|
||||||
/* TRANSLATORS: This is displayed when the next keystroke will be
|
/* TRANSLATORS: Shown when the next keystroke will be inserted verbatim. */
|
||||||
* inserted verbatim. */
|
|
||||||
statusbar(_("Verbatim Input"));
|
statusbar(_("Verbatim Input"));
|
||||||
place_the_cursor();
|
place_the_cursor();
|
||||||
|
|
||||||
|
@ -3279,7 +3278,7 @@ void complete_a_word(void)
|
||||||
|
|
||||||
/* If this match is the shard itself, ignore it. */
|
/* If this match is the shard itself, ignore it. */
|
||||||
if (pletion_line == openfile->current &&
|
if (pletion_line == openfile->current &&
|
||||||
i == openfile->current_x - shard_length)
|
i == openfile->current_x - shard_length)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
completion = copy_completion(pletion_line->data + i);
|
completion = copy_completion(pletion_line->data + i);
|
||||||
|
|
Loading…
Reference in New Issue