fix battery option parsing
Fix copy&paste mistake, battery should be enabled for obsolete "battery" option instead of obsolete "systray" option.
This commit is contained in:
@@ -898,7 +898,7 @@ void add_entry(char *key, char *value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Battery */
|
/* Battery */
|
||||||
else if (strcmp(key, "systray") == 0) {
|
else if (strcmp(key, "battery") == 0) {
|
||||||
// Obsolete option
|
// Obsolete option
|
||||||
config_has_battery = 1;
|
config_has_battery = 1;
|
||||||
config_battery_enabled = atoi(value);
|
config_battery_enabled = atoi(value);
|
||||||
|
|||||||
Reference in New Issue
Block a user