projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f4ccc
)
avoid more than 80 chars line
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Tue, 3 May 2011 11:31:22 +0000
(11:31 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Tue, 3 May 2011 11:31:22 +0000
(11:31 +0000)
src/unity/ui_unity.c
patch
|
blob
|
history
diff --git
a/src/unity/ui_unity.c
b/src/unity/ui_unity.c
index
0629db0
..
8db9572
100644
(file)
--- a/
src/unity/ui_unity.c
+++ b/
src/unity/ui_unity.c
@@
-47,7
+47,9
@@
void ui_unity_launcher_entry_update(struct psensor **sensors,
}
if (sensors && *sensors) {
- double v = psensor_get_max_current_value(sensors, SENSOR_TYPE_TEMP);
+ double v;
+
+ v = psensor_get_max_current_value(sensors, SENSOR_TYPE_TEMP);
unity_launcher_entry_set_count(psensor_entry, v);
}