mirror of
https://github.com/yourtion/30dayMakeOS.git
synced 2026-02-12 22:35:01 +08:00
鼠标显示问题
This commit is contained in:
@@ -91,11 +91,11 @@ void HariMain(void)
|
||||
if (my < 0) {
|
||||
my = 0;
|
||||
}
|
||||
if (mx > binfo->scrnx - 16) {
|
||||
mx = binfo->scrnx - 16;
|
||||
if (mx > binfo->scrnx - 1) {
|
||||
mx = binfo->scrnx - 1;
|
||||
}
|
||||
if (my > binfo->scrny - 16) {
|
||||
my = binfo->scrny - 16;
|
||||
if (my > binfo->scrny - 1) {
|
||||
my = binfo->scrny - 1;
|
||||
}
|
||||
sprintf(s, "(%3d, %3d)", mx, my);
|
||||
boxfill8(buf_back, binfo->scrnx, COL8_008484, 0, 0, 79, 15); /* 消坐标 */
|
||||
|
||||
Reference in New Issue
Block a user