summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/gtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gtk.c b/client/gtk.c
index 9a1c739..a5b421e 100644
--- a/client/gtk.c
+++ b/client/gtk.c
@@ -93,7 +93,7 @@ static char *currentSubjectFilter;
static void showMessage(GtkMessageType type, const char *text) {
GtkWidget *dialog = gtk_message_dialog_new(
GTK_WINDOW(signDialog), GTK_DIALOG_DESTROY_WITH_PARENT,
- type, GTK_BUTTONS_CLOSE, text);
+ type, GTK_BUTTONS_CLOSE, "%s", text);
gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
}