X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fpsensor.c;h=3a90e18579b1a37485425f5f5f062b46a73dc975;hb=1bb9b0dd5318aeadb8693efbf2e11f4db704f036;hp=a4f1eb5cba4fb53d24faf389e5e6fdd335ff083f;hpb=421f61cc14bfc1f16d69e26dc39385896fb10cc8;p=psensor.git diff --git a/src/lib/psensor.c b/src/lib/psensor.c index a4f1eb5..3a90e18 100644 --- a/src/lib/psensor.c +++ b/src/lib/psensor.c @@ -207,7 +207,7 @@ char *psensor_value_to_string(unsigned int type, double value) char *unit; if (is_temp_type(type)) - unit = "C"; + unit = "°C"; else if (type & SENSOR_TYPE_CPU_USAGE) unit = "%"; else @@ -427,7 +427,7 @@ const char *psensor_type_to_str(unsigned int type) const char *psensor_type_to_unit_str(unsigned int type) { if (type & SENSOR_TYPE_TEMP) - return _("C"); + return "\302\260C"; if (type & SENSOR_TYPE_FAN) return _("RPM");