diff --git a/test/cube.cxx b/test/cube.cxx index 2fc97b9b44..cca716f610 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;