Fix a const warning/error

This commit is contained in:
Pan7 2017-04-27 17:30:17 +02:00
parent 6e3c89c217
commit 179e6f01fa

View file

@ -780,7 +780,12 @@ void DoProjectSettings(){
char buf[1024];
const char *r;
char *w;
const char *custom_fs_game, *selected_game, *new_fs_game;
const char *custom_fs_game, *new_fs_game;
#if GTK_CHECK_VERSION( 3, 0, 0 )
const char *selected_game;
#else
char *selected_game;
#endif
// convert path to unix format
for ( r = gtk_entry_get_text( GTK_ENTRY( base ) ), w = buf; *r != '\0'; r++, w++ )