--- np2/x11/gtk2/gtk_main.c 2011/01/15 18:43:13 1.14 +++ np2/x11/gtk2/gtk_main.c 2012/01/23 03:57:31 1.16 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004 NONAKA Kimihiro + * Copyright (c) 2004 NONAKA Kimihiro * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -419,7 +419,7 @@ gui_gtk_msgbox(const char *title, const dialog = gtk_message_dialog_new(GTK_WINDOW(main_window), GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, - msgtype, btntype, msg); + msgtype, btntype, "%s", msg); gtk_window_set_title(GTK_WINDOW(dialog), title); gtk_widget_show_all(dialog);