Dreaded last minute changes at 4am :( Fix red.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22555 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-08-30 02:29:33 +00:00
parent 9ed1a154a5
commit ffa83b484c

View file

@ -163,7 +163,7 @@ void lcd_set_invert_display(bool yesno)
void lcd_set_flip(bool flip) void lcd_set_flip(bool flip)
{ {
int r_drv_output_control; int r_drv_output_control;
if (yesno == (y_offset != 4)) if (flip == (y_offset != 4))
return; return;
/* The LCD controller is 132x160 while the LCD itself is 128x160, so we need /* The LCD controller is 132x160 while the LCD itself is 128x160, so we need
* to shift the origin by 4 when we flip the LCD * to shift the origin by 4 when we flip the LCD