Fix Fix GCLS

This commit is contained in:
otya128 committed 2016-12-10 20:43:23 +09:00
1 parent bfdc8c17dd
commit 12aa60c12d
1 file changed
+1 -1
+1 -1
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)
{