1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-20 03:51:18 +00:00

Increase max length of ACPI temp (fixes #977)

This commit is contained in:
Brenden Matthews 2024-03-21 07:30:10 -04:00
parent 174aa63a96
commit d0033efe93

View File

@ -1844,7 +1844,7 @@ static double last_acpi_temp_time;
// the maximum length of the string inside a ACPI_THERMAL_FORMAT file including // the maximum length of the string inside a ACPI_THERMAL_FORMAT file including
// the ending 0 // the ending 0
#define MAXTHERMZONELEN 6 #define MAXTHERMZONELEN 7
double get_acpi_temperature(int fd) { double get_acpi_temperature(int fd) {
if (fd <= 0) { return 0; } if (fd <= 0) { return 0; }