[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 01/01: fixed bug 9962
noreply at xfce.org
noreply at xfce.org
Wed Apr 30 00:19:36 CEST 2014
This is an automated email from the git hooks/post-receive script.
timystery pushed a commit to branch master
in repository panel-plugins/xfce4-sensors-plugin.
commit efb6e7caf26fca89487a31650b9be31120094df4
Author: Fabian <timystery at arcor.de>
Date: Wed Apr 30 00:19:17 2014 +0200
fixed bug 9962
---
panel-plugin/sensors-plugin.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/panel-plugin/sensors-plugin.c b/panel-plugin/sensors-plugin.c
index 88f1bd7..e25c951 100644
--- a/panel-plugin/sensors-plugin.c
+++ b/panel-plugin/sensors-plugin.c
@@ -711,15 +711,15 @@ count_number_checked_sensor_features (t_sensors *sensors)
chip = (t_chip *) g_ptr_array_index (sensors->chips, chipNum);
g_assert (chip!=NULL);
- for (feature=0; feature<chip->num_features; /* none */ ) {
+ for (feature=0; feature<chip->num_features; feature++) {
chipfeature = g_ptr_array_index (chip->chip_features, feature);
g_assert (chipfeature!=NULL);
- if (chipfeature->show == TRUE)
+ if (chipfeature->valid == TRUE && chipfeature->show == TRUE)
itemsToDisplay++;
- if (chipfeature->valid == TRUE)
- feature++;
+ //if (chipfeature->valid == TRUE)
+ //feature++;
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list