X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fgraph.c;h=3b4eb0519b7bbfcabcbfc1772cc21ca8a35ab51c;hb=6ce6f23bfb0f95c38f1f5a3c86fecc3b2e65446d;hp=f5d0d5a1be5f08a5bb8c75aed74559364d47fe48;hpb=8865a607fb59810cbb9ced7a120bed63ffa67589;p=psensor.git diff --git a/src/graph.c b/src/graph.c index f5d0d5a..3b4eb05 100644 --- a/src/graph.c +++ b/src/graph.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2012 jeanfi@gmail.com + * Copyright (C) 2010-2013 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -262,7 +262,6 @@ graph_update(struct psensor **sensors, max_rpm = get_max_rpm(sensors); mint = get_min_temp(sensors); - strmin = psensor_value_to_str(SENSOR_TYPE_TEMP, mint, config->temperature_unit == CELCIUS); @@ -359,7 +358,7 @@ graph_update(struct psensor **sensors, while (*sensor_cur) { struct psensor *s = *sensor_cur; - if (s->enabled) { + if (s->graph_enabled) { no_graphs = 0; if (is_fan_type(s->type)) { min = min_rpm;