diff --git a/src/winio.c b/src/winio.c
index c4f100dd310e5fadf84bc8bb585756b4ae612b67..6fcefd938899d8778dae863046f570f3be126011 100644
--- a/src/winio.c
+++ b/src/winio.c
@@ -724,7 +724,7 @@ int get_escape_seq_kbinput(WINDOW *win, int *escape_seq, int
 }
 
 /* Return the equivalent arrow key value for the case-insensitive
- * letters A (up), B (down), C (left), and D (right).  These are common
+ * letters A (up), B (down), C (right), and D (left).  These are common
  * to many escape sequences. */
 int get_escape_seq_abcd(int kbinput)
 {