Skip to content

Commit dcb5197

Browse files
committed
Fix style
1 parent bee7da6 commit dcb5197

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/screen/320x240x16/lcd_gfx.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -574,15 +574,15 @@ void LCD_DrawWindowedImageFromFile(u16 x, u16 y, const char *file, s16 w, s16 h,
574574
unsigned last_pixel_transparent = row_has_transparency;
575575
row_has_transparency = 0;
576576
#endif
577-
for (i = 0; i < w; i++ ) {
577+
for (i = 0; i < w; i++) {
578578
if (i % FILEBUF_SIZE == 0) {
579579
fread(buf, w - i > FILEBUF_SIZE? FILEBUF_SIZE: w - i, 2, fh);
580580
color = (u16 *)buf;
581581
}
582582

583-
if(transparent) {
583+
if (transparent) {
584584
#ifdef TRANSPARENT_COLOR
585-
//Display supports a transparent color
585+
// Display supports a transparent color
586586
u32 c;
587587
if((*color & 0x8000)) {
588588
//convert 1555 -> 565
@@ -615,7 +615,7 @@ void LCD_DrawWindowedImageFromFile(u16 x, u16 y, const char *file, s16 w, s16 h,
615615
*color = (*color & 0x8410) == 0x8410 ? 0 : 0xffff;
616616
LCD_DrawPixel(*color++);
617617
}
618-
}
618+
}
619619
if((u16)w < img_w) {
620620
fseek(fh, 2 * (img_w - w), SEEK_CUR);
621621
}

0 commit comments

Comments
 (0)