Skip to content
Snippets Groups Projects
Commit 9d5f0908 authored by deuce's avatar deuce
Browse files

Some bugs introduced by the sane coordinate changes...

Found by Coverity.
parent e768dd36
No related branches found
No related tags found
No related merge requests found
......@@ -3398,7 +3398,7 @@ static void do_ansi(struct cterminal *cterm, char *retbuf, size_t retsize, int *
TERM_XY(&col, &row);
row++;
if(row > TERM_MAXY)
i = TERM_MAXY;
row = TERM_MAXY;
GOTOXY(col, row);
break;
case 'H':
......@@ -3408,7 +3408,7 @@ static void do_ansi(struct cterminal *cterm, char *retbuf, size_t retsize, int *
TERM_XY(&col, &row);
row--;
if(row < TERM_MINY)
i = TERM_MINY;
row = TERM_MINY;
GOTOXY(col, row);
break;
case 'P': // Device Control String - DCS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment