summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/file_chooser.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/file_chooser.cxx b/test/file_chooser.cxx
index c8dfc7cf9..19073ef29 100644
--- a/test/file_chooser.cxx
+++ b/test/file_chooser.cxx
@@ -315,8 +315,9 @@ show_callback(void)
fc->show();
- while (fc->visible())
+ while (fc->visible()) {
Fl::wait();
+ }
count = fc->count();
if (count > 0)