mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
f7bef7e8d2
on -current again.
17 lines
413 B
Plaintext
17 lines
413 B
Plaintext
--- src/lib/IV-2_6/control.c.orig Tue Dec 28 22:48:52 1999
|
|
+++ src/lib/IV-2_6/control.c Tue Dec 28 22:49:19 1999
|
|
@@ -154,10 +154,12 @@
|
|
*/
|
|
|
|
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;
|
|
}
|