kwo pushed a commit to branch master.
commit 3ae4a353ae00a8328c9674cb26faa7af3659389d
Author: Kim Woelders <[email protected]>
Date: Thu Jul 25 20:18:24 2013 +0200
E-Power: Fix showing image when battery is > 100% full(?).
---
epplets/E-Power.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/epplets/E-Power.c b/epplets/E-Power.c
index 7a61c21..0a81b1d 100644
--- a/epplets/E-Power.c
+++ b/epplets/E-Power.c
@@ -363,6 +363,8 @@ cb_timer_gen(bi_fetch_f * bi_fetch)
snprintf(current_status, sizeof(current_status), "???");
Epplet_change_label(label, current_status);
+ if (bat_val > 100)
+ bat_val = 100;
sprintf(current_status, "E-Power-Bat-%i.png", ((bat_val + 5) / 10) * 10);
Epplet_change_image(image, 44, 24, current_status);
}
--
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk