forked from enlightenment/enlightenment
Remove decimals for udev temperature.
SVN revision: 49777
This commit is contained in:
parent
215051a900
commit
d257679726
|
@ -63,9 +63,9 @@ temperature_udev_update(void *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inst->units == FAHRENHEIT)
|
if (inst->units == FAHRENHEIT)
|
||||||
snprintf(buf, sizeof(buf), "%3.2f°F", temp);
|
snprintf(buf, sizeof(buf), "%3.0f °F", temp);
|
||||||
else
|
else
|
||||||
snprintf(buf, sizeof(buf), "%3.2f°C", temp);
|
snprintf(buf, sizeof(buf), "%3.0f °C", temp);
|
||||||
|
|
||||||
_temperature_face_level_set(inst,
|
_temperature_face_level_set(inst,
|
||||||
(double)(temp - inst->low) /
|
(double)(temp - inst->low) /
|
||||||
|
|
Loading…
Reference in New Issue