mirror of
https://github.com/fltk/fltk.git
synced 2026-05-10 05:27:55 +08:00
Fixes warning in cube.cxx.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user