summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-h100-remote.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-06-29 21:33:36 +0000
committerJens Arnold <amiconn@rockbox.org>2005-06-29 21:33:36 +0000
commit7f8cc3f1c62cd6e09d94b38370e5d6f0bfc625cd (patch)
tree975fa93bd3552210dce1d83369d38a504f7732cc /firmware/drivers/lcd-h100-remote.c
parent79952cb6139748102a65ec3a5168be88dcc76615 (diff)
downloadrockbox-7f8cc3f1c62cd6e09d94b38370e5d6f0bfc625cd.tar.gz
rockbox-7f8cc3f1c62cd6e09d94b38370e5d6f0bfc625cd.zip
Ooops...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6935 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-h100-remote.c')
-rw-r--r--firmware/drivers/lcd-h100-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-h100-remote.c b/firmware/drivers/lcd-h100-remote.c
index 3edb27c155..bdc5799726 100644
--- a/firmware/drivers/lcd-h100-remote.c
+++ b/firmware/drivers/lcd-h100-remote.c
@@ -558,7 +558,7 @@ void lcd_remote_clear_display(void)
558/* Set a single pixel */ 558/* Set a single pixel */
559void lcd_remote_drawpixel(int x, int y) 559void lcd_remote_drawpixel(int x, int y)
560{ 560{
561 if (((unsigned)x < LCD_REMOTE_WIDTH) || ((unsigned)y < LCD_REMOTE_HEIGHT)) 561 if (((unsigned)x < LCD_REMOTE_WIDTH) && ((unsigned)y < LCD_REMOTE_HEIGHT))
562 lcd_remote_pixelfuncs[drawmode](x, y); 562 lcd_remote_pixelfuncs[drawmode](x, y);
563} 563}
564 564