OSDN Git Service

Bug fixed.
authorShinichiro Nakamura <shinta.main.jp@gmail.com>
Mon, 28 May 2012 22:35:24 +0000 (07:35 +0900)
committerShinichiro Nakamura <shinta.main.jp@gmail.com>
Mon, 28 May 2012 22:35:24 +0000 (07:35 +0900)
firm/05/bootload/lcd.c

index c2f1b60..0392bc5 100644 (file)
@@ -393,5 +393,6 @@ void lcd_draw_progressbar(
   int tmp_val = value - min;
   int pix = ((x2 - x1) * tmp_val) / tmp_max;
   lcd_fill_box(x1 + 1, y1 + 1, x1 + pix - 1, y2 - 1, reverse);
+  lcd_fill_box(x1 + pix, y1 + 1, x2 - 1, y2 - 1, !reverse);
 }