removed useless union
[psensor.git] / src / ui_sensorlist.c
index b4ac650..2809b51 100644 (file)
@@ -73,7 +73,7 @@ void ui_sensorlist_update(struct ui_psensor *ui)
 
                str = psensor_value_to_string(s->type,
                                              s->measures[s->values_max_length -
-                                                         1].value.d_num,
+                                                         1].value,
                                              use_celcius);
 
                gtk_list_store_set(GTK_LIST_STORE(model), &iter, COL_TEMP, str,