X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Fui_sensorlist.c;h=f9b5fba17092f2517d45c0137bb64c0a62a38e8f;hp=cc00d79eab3177a2f6f731aa92e959967a2c4ad7;hb=9f2b7eb5cd9f86d72f63a3956a6088e6f0319070;hpb=b1404f67d0c1f9e653481fef9e3721dd60263395 diff --git a/src/ui_sensorlist.c b/src/ui_sensorlist.c index cc00d79..f9b5fba 100644 --- a/src/ui_sensorlist.c +++ b/src/ui_sensorlist.c @@ -119,8 +119,12 @@ void ui_sensorlist_update(struct ui_psensor *ui, bool complete) value = psensor_value_to_str(s->type, psensor_get_current_value(s), use_celsius); - min = psensor_value_to_str(s->type, s->min, use_celsius); - max = psensor_value_to_str(s->type, s->max, use_celsius); + min = psensor_value_to_str(s->type, + s->sess_lowest, + use_celsius); + max = psensor_value_to_str(s->type, + s->sess_highest, + use_celsius); gtk_list_store_set(store, &iter, COL_TEMP, value,