style
[psensor.git] / src / graph.c
index f5d0d5a..3b4eb05 100644 (file)
@@ -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;