summaryrefslogtreecommitdiff
path: root/test/cube.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-12-04 16:13:07 +0100
committerMatthias Melcher <github@matthiasm.com>2024-12-04 16:13:07 +0100
commitfe8a94d2364fd8d3a4d064e55f0901c245f42829 (patch)
treedf5ce90df6fcae7732ea2eafacb9d34a381314f6 /test/cube.cxx
parente18926ec76105161258707e077e5b19e08bd235f (diff)
Fixes warning in cube.cxx.
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;