terminal-util: fix typo

Follow-up for 3390be38d1.
This commit is contained in:
Yu Watanabe
2025-04-07 16:35:18 +09:00
parent 79ef03740d
commit 77c796d46f
+1 -1
View File
@@ -2338,7 +2338,7 @@ static int scan_cursor_position_response(
} else {
int d = undecchar(c);
/* As above, add the decimal charatcer to our column number */
/* As above, add the decimal character to our column number */
if (d < 0 || context->column > (UINT_MAX-d)/10)
context->state = CURSOR_TEXT;
else