summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/glpuzzle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/glpuzzle.cxx b/test/glpuzzle.cxx
index fd4d56344..6df075749 100644
--- a/test/glpuzzle.cxx
+++ b/test/glpuzzle.cxx
@@ -1310,7 +1310,7 @@ animate(void)
glutSetWindowTitle("glpuzzle");
}
}
- if (!solving && !spinning && !visible) {
+ if ((!solving && !spinning) || !visible) {
glutIdleFunc(NULL);
}
}