Skip to content

Commit

Permalink
Fixes warning in cube.cxx.
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasWM committed Dec 4, 2024
1 parent e18926e commit fe8a94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cube.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fe8a94d

Please sign in to comment.