summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dfnet/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dfnet/gui.c b/plugins/dfnet/gui.c
index ad991bc1..1f2dc69c 100644
--- a/plugins/dfnet/gui.c
+++ b/plugins/dfnet/gui.c
@@ -28,7 +28,7 @@ void cfgSysMessage(const char *fmt, ...) {
MsgDlg = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _("NetPlay"));
- gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(MsgDlg), msg);
+ gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(MsgDlg), "%s", msg);
gtk_dialog_run(GTK_DIALOG(MsgDlg));
gtk_widget_destroy(MsgDlg);