add a digit to format string for hilarious people that use degrees F (HI DEVILHORNS!!!!!!!!!!!!!)

SVN revision: 49120
This commit is contained in:
Mike Blumenkrantz 2010-05-22 02:19:02 +00:00
parent 95ee44e8c1
commit 44340314e7
1 changed files with 2 additions and 2 deletions

View File

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