summaryrefslogtreecommitdiff
path: root/viewres.c
diff options
context:
space:
mode:
Diffstat (limited to 'viewres.c')
-rw-r--r--viewres.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/viewres.c b/viewres.c
index 74e402e..8200f81 100644
--- a/viewres.c
+++ b/viewres.c
@@ -617,9 +617,9 @@ select_callback (
add_to_selected_list (node->superclass, TRUE);
} else {
for (i = 0; i < nselected; i++) {
- XmuWidgetNode *node = selected_list.elements[i];
- if (node->superclass)
- add_to_selected_list (node->superclass, TRUE);
+ XmuWidgetNode *nodeI = selected_list.elements[i];
+ if (nodeI->superclass)
+ add_to_selected_list (nodeI->superclass, TRUE);
}
}
break;
@@ -655,11 +655,11 @@ select_callback (
}
} else {
for (i = 0; i < nselected; i++) {
- XmuWidgetNode *node = selected_list.elements[i];
+ XmuWidgetNode *nodeI = selected_list.elements[i];
- add_to_selected_list (node, TRUE);
- for (node = node->children; node; node = node->siblings) {
- add_to_selected_list (node, TRUE);
+ add_to_selected_list (nodeI, TRUE);
+ for (nodeI = nodeI->children; nodeI; nodeI = nodeI->siblings) {
+ add_to_selected_list (nodeI, TRUE);
}
}
}