mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 02:38:13 +00:00
Terminal: Fix compiler warnings.
This commit is contained in:
parent
1277d583ef
commit
4118aaaa32
2 changed files with 4 additions and 4 deletions
|
@ -290,7 +290,7 @@ void Terminal::escape$r(const ParamVector& params)
|
|||
top = params[0];
|
||||
if (params.size() >= 2)
|
||||
bottom = params[1];
|
||||
if ((bottom - top) < 2 || bottom > m_rows || top < 0) {
|
||||
if ((bottom - top) < 2 || bottom > m_rows) {
|
||||
dbgprintf("Error: escape$r: scrolling region invalid: %u-%u\n", top, bottom);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue