diff --git a/src/text.c b/src/text.c index 0222b2de5972f5ea4bb8755f3512c62d9a3d515e..2f05cd141728af58155998ed5b9addbbb844dc58 100644 --- a/src/text.c +++ b/src/text.c @@ -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 diff --git a/src/winio.c b/src/winio.c index 6b727dc7d7b18ef1b540baf2491e508eb420d6f9..9c5d1e2670a668fda977e69f0f34bb31f632b69f 100644 --- a/src/winio.c +++ b/src/winio.c @@ -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--;