aboutsummaryrefslogtreecommitdiff
path: root/src/crystfel_gui.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-07-20 11:10:20 +0200
committerThomas White <taw@physics.org>2021-07-20 11:36:30 +0200
commit5c39e623f0809078c57b0164e567100342baac5e (patch)
tree345d6b16bb6659706d4eaafd4deb7611ed6893c7 /src/crystfel_gui.c
parent24dc09b27046b263278f71073075b119f5c7c328 (diff)
GUI: Use format string
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r--src/crystfel_gui.c1
1 files changed, 1 insertions, 0 deletions
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,