Testing
This commit is contained in:
@@ -570,6 +570,13 @@ void Paint_DrawString(UWORD Xstart, UWORD Ystart, const char * pString,
|
||||
UWORD Xpoint = Xstart;
|
||||
UWORD Ypoint = Ystart;
|
||||
|
||||
Debug("Width: ");
|
||||
Debug(Paint.Width)
|
||||
Debug("\n")
|
||||
Debug("Height: ")
|
||||
Debug(Paint.Height)
|
||||
Debug("\n")
|
||||
|
||||
if (Xstart > Paint.Width || Ystart > Paint.Height) {
|
||||
Debug("Paint_DrawString_EN Input exceeds the normal display range\r\n");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user