From fe8a94d2364fd8d3a4d064e55f0901c245f42829 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 4 Dec 2024 16:13:07 +0100 Subject: [PATCH] Fixes warning in cube.cxx. --- test/cube.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;