Fixed minor drawing problem of the on-screen KDL: in NO_CLEAN mode, the first two

lines would be left untouched instead of cleared before use.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13375 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-07-01 06:42:07 +00:00
parent 8cc39dac67
commit 0160c6fbda

View File

@ -71,7 +71,7 @@ next_line(void)
} }
#if NO_CLEAR #if NO_CLEAR
sModule->fill_glyph(0, sScreen.y + 2, sScreen.columns, 1, ' ', sScreen.attr); sModule->fill_glyph(0, (sScreen.y + 2) % sScreen.rows, sScreen.columns, 1, ' ', sScreen.attr);
#endif #endif
sScreen.x = 0; sScreen.x = 0;
} }