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:
parent
8cc39dac67
commit
0160c6fbda
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user