add a digit to format string for hilarious people that use degrees F (HI DEVILHORNS!!!!!!!!!!!!!)
SVN revision: 49120
This commit is contained in:
parent
95ee44e8c1
commit
44340314e7
|
@ -71,9 +71,9 @@ temperature_udev_update(void *data)
|
|||
}
|
||||
|
||||
if (inst->units == FAHRENHEIT)
|
||||
snprintf(buf, sizeof(buf), "%2.2f°F", temp);
|
||||
snprintf(buf, sizeof(buf), "%3.2f°F", temp);
|
||||
else
|
||||
snprintf(buf, sizeof(buf), "%2.2f°C", temp);
|
||||
snprintf(buf, sizeof(buf), "%3.2f°C", temp);
|
||||
|
||||
_temperature_face_level_set(inst,
|
||||
(double)(temp - inst->low) /
|
||||
|
|
Loading…
Reference in New Issue