mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Fix a const warning/error
This commit is contained in:
parent
6e3c89c217
commit
179e6f01fa
1 changed files with 6 additions and 1 deletions
|
@ -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++ )
|
||||
|
|
Loading…
Reference in a new issue