summaryrefslogtreecommitdiff
path: root/test/cube.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/cube.cxx')
-rw-r--r--test/cube.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cube.cxx b/test/cube.cxx
index 2fc97b9b4..cca716f61 100644
--- a/test/cube.cxx
+++ b/test/cube.cxx
@@ -192,7 +192,7 @@ void exit_cb(Fl_Widget *w = NULL, void *v = NULL) {
printf("%s\n", buffer);
fflush(stdout);
- int choice = fl_choice(buffer, "Continue", "Exit", NULL);
+ int choice = fl_choice("%s", "Continue", "Exit", NULL, buffer);
if (choice == 1) {
// exit program, close all windows
done = 1;