projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed typo (celcius/celsius)
[psensor.git]
/
src
/
ui_unity.c
diff --git
a/src/ui_unity.c
b/src/ui_unity.c
index
046fa6c
..
17ee29d
100644
(file)
--- 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,
void ui_unity_launcher_entry_update(struct psensor **sensors,
unsigned int show,
- int use_cel
c
ius)
+ int use_cel
s
ius)
{
double v;
{
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 (sensors && *sensors) {
v = psensor_get_max_current_value(sensors, SENSOR_TYPE_TEMP);
- if (!use_cel
c
ius)
- v = cel
c
ius_to_fahrenheit(v);
+ if (!use_cel
s
ius)
+ v = cel
s
ius_to_fahrenheit(v);
unity_launcher_entry_set_count(psensor_entry, v);
}
unity_launcher_entry_set_count(psensor_entry, v);
}