diff options
| author | Matthias Melcher <github@matthiasm.com> | 2024-12-04 16:13:07 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2024-12-04 16:13:07 +0100 |
| commit | fe8a94d2364fd8d3a4d064e55f0901c245f42829 (patch) | |
| tree | df5ce90df6fcae7732ea2eafacb9d34a381314f6 /test | |
| parent | e18926ec76105161258707e077e5b19e08bd235f (diff) | |
Fixes warning in cube.cxx.
Diffstat (limited to 'test')
| -rw-r--r-- | test/cube.cxx | 2 |
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; |
