1 2 3 4 5 6 7 8 9 10 11 12 13
|
diff --git a/src/main_window.c b/src/main_window.c
index 98386c6..873c83a 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -1263,7 +1263,7 @@ cb_sq_main_window_archive_command_terminated(LSQArchive *archive, GError *error,
if(error)
{
- GtkWidget *error_dialog = gtk_message_dialog_new(GTK_WINDOW(window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error->message);
+ GtkWidget *error_dialog = gtk_message_dialog_new(GTK_WINDOW(window), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", error->message);
gtk_dialog_run(GTK_DIALOG(error_dialog));
gtk_widget_destroy(error_dialog);
}
|