forked from len0rd/rockbox
Ooops...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6935 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
79952cb613
commit
7f8cc3f1c6
3 changed files with 3 additions and 3 deletions
|
@ -558,7 +558,7 @@ void lcd_remote_clear_display(void)
|
|||
/* Set a single pixel */
|
||||
void lcd_remote_drawpixel(int x, int y)
|
||||
{
|
||||
if (((unsigned)x < LCD_REMOTE_WIDTH) || ((unsigned)y < LCD_REMOTE_HEIGHT))
|
||||
if (((unsigned)x < LCD_REMOTE_WIDTH) && ((unsigned)y < LCD_REMOTE_HEIGHT))
|
||||
lcd_remote_pixelfuncs[drawmode](x, y);
|
||||
}
|
||||
|
||||
|
|
|
@ -397,7 +397,7 @@ void lcd_clear_display(void)
|
|||
/* Set a single pixel */
|
||||
void lcd_drawpixel(int x, int y)
|
||||
{
|
||||
if (((unsigned)x < LCD_WIDTH) || ((unsigned)y < LCD_HEIGHT))
|
||||
if (((unsigned)x < LCD_WIDTH) && ((unsigned)y < LCD_HEIGHT))
|
||||
lcd_pixelfuncs[drawmode](x, y);
|
||||
}
|
||||
|
||||
|
|
|
@ -454,7 +454,7 @@ void lcd_clear_display(void)
|
|||
/* Set a single pixel */
|
||||
void lcd_drawpixel(int x, int y)
|
||||
{
|
||||
if (((unsigned)x < LCD_WIDTH) || ((unsigned)y < LCD_HEIGHT))
|
||||
if (((unsigned)x < LCD_WIDTH) && ((unsigned)y < LCD_HEIGHT))
|
||||
lcd_pixelfuncs[drawmode](x, y);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue