aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/iv/files/patch-bn
blob: c85844bdc08c613c4822b6b721839c2b134b7adb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/lib/IV-2_6/control.c.org    Wed Feb 12 05:48:58 1992
+++ src/lib/IV-2_6/control.c    Sun Jan 23 18:48:18 2000
@@ -154,10 +154,11 @@
  */
 
 boolean Control::IsGrabbing(Interactor* i) {
+    ControlState* c;
     if (i == this) {
    return true;
     }
-    for (ControlState* c = state_; c != nil; c = c->Next()) {
+    for (c = state_; c != nil; c = c->Next()) {
    if (c->IsView(i)) {
        return true;
    }