Goofy Crosscomp

This commit is contained in:
Steven Tracey 2024-11-20 09:09:03 -05:00
parent 85231d8ba1
commit 71a4a241aa
2 changed files with 2 additions and 2 deletions

View File

@ -573,7 +573,7 @@ void Paint_DrawString(UWORD Xstart, UWORD Ystart, const char * pString,
Debug("Width: %d\n", Paint.Width);
Debug("Height: %d\n", Paint.Height);
if (Xstart > Paint.Width || Ystart > Paint.Height) {
if (Xstart > 250 || Ystart > 122) {
Debug("Paint_DrawString_EN Input exceeds the normal display range\r\n");
return;
}

View File

@ -31,7 +31,7 @@ int draw() {
const char *confName = "default";
GoString confStr = {confName, strlen(confName)};
const char *code = getCode(confStr);
Debug("Code: %s", code);
Debug("Code: %s\n", code);
Paint_DrawString(5, 5, code, &Font24, WHITE, BLACK);
Paint_DrawRectangle(10, 112, 240, 92, BLACK, DOT_PIXEL_1X1, DRAW_FILL_EMPTY);