1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 05:59:07 +00:00
This commit is contained in:
Nikolas Garofil 2009-07-24 11:43:53 +02:00
parent 3322b2a9a9
commit 44ca4647b8

View File

@ -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) {