mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-26 06:39:43 +03:00
tweaks: correct a typo, improve two indentations, and rewrap a line
This commit is contained in:
parent
a0506a15ee
commit
2b97d6563d
@ -173,7 +173,7 @@ int do_statusbar_input(bool *finished)
|
||||
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)
|
||||
{
|
||||
/* 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
|
||||
* count whenever we're on a word just before moving. */
|
||||
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))
|
||||
words++;
|
||||
}
|
||||
@ -3145,8 +3145,7 @@ void do_verbatim_input(void)
|
||||
char *bytes;
|
||||
size_t count;
|
||||
|
||||
/* TRANSLATORS: This is displayed when the next keystroke will be
|
||||
* inserted verbatim. */
|
||||
/* TRANSLATORS: Shown when the next keystroke will be inserted verbatim. */
|
||||
statusbar(_("Verbatim Input"));
|
||||
place_the_cursor();
|
||||
|
||||
@ -3279,7 +3278,7 @@ void complete_a_word(void)
|
||||
|
||||
/* If this match is the shard itself, ignore it. */
|
||||
if (pletion_line == openfile->current &&
|
||||
i == openfile->current_x - shard_length)
|
||||
i == openfile->current_x - shard_length)
|
||||
continue;
|
||||
|
||||
completion = copy_completion(pletion_line->data + i);
|
||||
|
Loading…
Reference in New Issue
Block a user