From 5c39e623f0809078c57b0164e567100342baac5e Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 20 Jul 2021 11:10:20 +0200 Subject: GUI: Use format string --- src/crystfel_gui.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/crystfel_gui.c') diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c index 91b91413..159d1bc2 100644 --- a/src/crystfel_gui.c +++ b/src/crystfel_gui.c @@ -103,6 +103,7 @@ void error_box(struct crystfelproject *proj, const char *message) 0, GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, + "%s", message); gtk_dialog_add_buttons(GTK_DIALOG(dialog), "OK", GTK_RESPONSE_OK, -- cgit v1.2.3