]> Dogcows Code - chaz/tint2/blobdiff - src/config.c
fixed battery drawing
[chaz/tint2] / src / config.c
index 90cb31e41cd124b935aae91f7d0908814eba8796..02d0265d74fd9117f9c966f5d11b97e2c1a9b9fd 100644 (file)
@@ -274,7 +274,7 @@ void add_entry (char *key, char *value)
        else if (strcmp (key, "battery") == 0) {
 #ifdef ENABLE_BATTERY
                if(atoi(value) == 1)
-                       panel_config.battery.area.on_screen = 1;
+                       battery_enabled = 1;
 #else
                if(atoi(value) == 1)
                        fprintf(stderr, "tint2 is build without battery support\n");
This page took 0.01972 seconds and 4 git commands to generate.