1
0
Fork 0
forked from len0rd/rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6935 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-06-29 21:33:36 +00:00
parent 79952cb613
commit 7f8cc3f1c6
3 changed files with 3 additions and 3 deletions

View file

@ -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);
}

View file

@ -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);
}

View file

@ -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);
}