aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32/winansi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/winansi.c b/win32/winansi.c
index f08fe2b79..3276913da 100644
--- a/win32/winansi.c
+++ b/win32/winansi.c
@@ -284,7 +284,7 @@ static const char *set_attr(const char *str)
284 int row = strtol(str, (char **)&str, 10); 284 int row = strtol(str, (char **)&str, 10);
285 if (*str == ';') { 285 if (*str == ';') {
286 int col = strtol(str+1, (char **)&str, 10); 286 int col = strtol(str+1, (char **)&str, 10);
287 move_cursor(col, row); 287 move_cursor(col-1, row-1);
288 } 288 }
289 } 289 }
290 break; 290 break;