tweaks: correct a comment typo and an indentation error

master
David Lawrence Ramsey 2017-07-31 10:34:32 -05:00 committed by Benno Schulenberg
parent 829a1a5050
commit ac2c81fad1
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ static filestruct *jusbottom = NULL;
static int pletion_x = 0;
/* The x position in pletion_line of the last found completion. */
static completion_word *list_of_completions;
/* A linked list of the completions that have been attepmted. */
/* A linked list of the completions that have been attempted. */
#endif
#ifndef NANO_TINY

View File

@ -3103,7 +3103,7 @@ size_t actual_last_column(size_t leftedge, size_t column)
/* If we're not on the last chunk, we're one column past the end of
* the row. Shifting back one column might put us in the middle of
* a multi-column character, but actual_x() will fix that later. */
* a multi-column character, but actual_x() will fix that later. */
if (!last_chunk)
end_col--;