1
0

Fix Fix GCLS

This commit is contained in:
otya128
2016-12-10 20:43:23 +09:00
parent bfdc8c17dd
commit 12aa60c12d

View File

@@ -648,7 +648,7 @@ class Graphic
}
void gcls(int page, uint color)
{
sendDrawMessage(DrawType.FILL, cast(byte)page, 0, 0, cast(short)width, cast(short)height, color);
sendDrawMessage(DrawType.FILL, cast(byte)page, 0, 0, cast(short)(width - 1), cast(short)(height - 1), color);
}
void gpaint(int page, int x, int y, uint color)
{