sdl: fix a potential security issue with loading the game genie rom (thank you Joe Mahmias for your patch!)

This commit is contained in:
punkrockguy318 2012-11-02 13:48:38 +00:00
parent e81018199c
commit 4415f95227
1 changed files with 1 additions and 1 deletions

View File

@ -1663,7 +1663,7 @@ void loadGameGenie ()
GtkWidget* d;
enableGameGenie(TRUE);
d = gtk_message_dialog_new(GTK_WINDOW(MainWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK,
("Game Genie ROM copied to " + fn_out).c_str());
"Game Genie ROM copied to: '%s'.", fn_out.c_str());
gtk_dialog_run(GTK_DIALOG(d));
gtk_widget_destroy(d);