Remove decimals for udev temperature.

SVN revision: 49777
This commit is contained in:
Christopher Michael 2010-06-21 02:40:10 +00:00
parent 215051a900
commit d257679726
1 changed files with 2 additions and 2 deletions

View File

@ -63,9 +63,9 @@ temperature_udev_update(void *data)
}
if (inst->units == FAHRENHEIT)
snprintf(buf, sizeof(buf), "%3.2f°F", temp);
snprintf(buf, sizeof(buf), "%3.0f °F", temp);
else
snprintf(buf, sizeof(buf), "%3.2f°C", temp);
snprintf(buf, sizeof(buf), "%3.0f °C", temp);
_temperature_face_level_set(inst,
(double)(temp - inst->low) /