- textbox: allow users setting screen_StartX/Y = 0

This commit is contained in:
svenhoefer
2016-01-07 13:18:49 +01:00
parent c78bfcfce0
commit 3d4bb41062

View File

@@ -580,7 +580,7 @@ void CTextBox::refreshText(void)
}
//detect corrupt position values
if ((ax<=0) || (ay<=0)){
if ((ax<0) || (ay<0)){
dprintf(DEBUG_NORMAL, "\033[33m[CTextBox] [%s - %d] ERROR! position out of range: ax = %d, ay = %d, dx = %d, dy = %d\033[0m\n", __func__, __LINE__, ax, ay, dx, dy);
return;
}