fixed battery drawing

git-svn-id: http://tint2.googlecode.com/svn/trunk@241 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
lorthiois@bbsoft.fr
2009-10-28 23:01:32 +00:00
parent d0799e91dd
commit 51b9ce356a
5 changed files with 74 additions and 72 deletions

View File

@@ -662,7 +662,7 @@ void event_timer()
// update battery
#ifdef ENABLE_BATTERY
if (panel1[0].battery.area.on_screen) {
if (battery_enabled) {
update_battery();
for (i=0 ; i < nb_panel ; i++)
panel1[i].battery.area.resize = 1;