X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fui_unity.c;h=17ee29dbe85fc355b0db78a41c6f5ca968b2ff07;hb=0e52be5c9e4d3bfe732f90abe7ca3cbfa32ad59c;hp=046fa6c520d9e0691ec0945feeeb00d0e7148655;hpb=a6b15fd9042fa339853104ea6307889cae7323b7;p=psensor.git diff --git a/src/ui_unity.c b/src/ui_unity.c index 046fa6c..17ee29d 100644 --- a/src/ui_unity.c +++ b/src/ui_unity.c @@ -26,7 +26,7 @@ static unsigned int last_visible = -1; void ui_unity_launcher_entry_update(struct psensor **sensors, unsigned int show, - int use_celcius) + int use_celsius) { double v; @@ -51,8 +51,8 @@ void ui_unity_launcher_entry_update(struct psensor **sensors, if (sensors && *sensors) { v = psensor_get_max_current_value(sensors, SENSOR_TYPE_TEMP); - if (!use_celcius) - v = celcius_to_fahrenheit(v); + if (!use_celsius) + v = celsius_to_fahrenheit(v); unity_launcher_entry_set_count(psensor_entry, v); }