diff options
author | Thomas White <taw@physics.org> | 2014-04-08 17:22:11 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-04-08 17:31:26 +0200 |
commit | 2dc09493d78eaa26f2f8a07bfdeb7b3f7a030fa4 (patch) | |
tree | 0c46b53c2b31a23d09678bbdb11e9333bc7d7f90 /src/dw-hdfsee.c | |
parent | e669d94c7a8287daef65def7c1f25feaff1e681d (diff) |
Fix format string in displaywindow_error()
Diffstat (limited to 'src/dw-hdfsee.c')
-rw-r--r-- | src/dw-hdfsee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c index 5c4a71de..9027a9fd 100644 --- a/src/dw-hdfsee.c +++ b/src/dw-hdfsee.c @@ -58,7 +58,7 @@ static void displaywindow_error(DisplayWindow *dw, const char *message) window = gtk_message_dialog_new(GTK_WINDOW(dw->window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, - GTK_BUTTONS_CLOSE, message); + GTK_BUTTONS_CLOSE, "%s", message); gtk_window_set_title(GTK_WINDOW(window), "Error"); g_signal_connect_swapped(window, "response", |