tweaks: correct a comment typo and an indentation error
parent
829a1a5050
commit
ac2c81fad1
|
@ -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
|
||||
|
|
|
@ -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--;
|
||||
|
||||
|
|
Loading…
Reference in New Issue