Merge pull request #469 from Pan7/fixconst

Fix a const warning/error
This commit is contained in:
Timothee "TTimo" Besset 2017-04-28 07:25:04 -05:00 committed by GitHub
commit 83568617ac

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++ )