1
0
Fork 0
forked from len0rd/rockbox

reindented

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1647 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Markus Braun 2002-08-09 14:10:09 +00:00
parent 2012acf0a8
commit 8761231ee1

View file

@ -912,11 +912,15 @@ void lcd_invertrect (int x, int y, int nx, int ny)
{
int i,j;
if (x>LCD_WIDTH) return;
if (y>LCD_HEIGHT) return;
if (x>LCD_WIDTH)
return;
if (y>LCD_HEIGHT)
return;
if (x+nx>LCD_WIDTH) nx=LCD_WIDTH-x;
if (y+ny>LCD_HEIGHT) ny=LCD_HEIGHT-y;
if (x+nx>LCD_WIDTH)
nx=LCD_WIDTH-x;
if (y+ny>LCD_HEIGHT)
ny=LCD_HEIGHT-y;
for (i = 0; i < nx; i++)
for (j = 0; j < ny; j++)