mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
textbox: allow users setting screen_StartX/Y = 0
Origin commit data
------------------
Commit: 3d4bb41062
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-07 (Thu, 07 Jan 2016)
Origin message was:
------------------
- textbox: allow users setting screen_StartX/Y = 0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user