From ac2c81fad17f3dc4cc08c9feb17fe4b302585346 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 31 Jul 2017 10:34:32 -0500
Subject: [PATCH] tweaks: correct a comment typo and an indentation error

---
 src/text.c  | 2 +-
 src/winio.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/text.c b/src/text.c
index 0222b2de..2f05cd14 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 6b727dc7..9c5d1e26 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--;
 
-- 
GitLab