mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
bugfix
This commit is contained in:
parent
3322b2a9a9
commit
44ca4647b8
@ -1796,6 +1796,7 @@ void get_battery_stuff(char *buffer, unsigned int n, const char *bat, int item)
|
||||
}
|
||||
}
|
||||
fclose(acpi_bat_fp[idx]);
|
||||
acpi_bat_fp[idx] = NULL;
|
||||
} else {
|
||||
/* APM */
|
||||
if (apm_bat_fp[idx] == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user