fix
authorTTimo <ttimo@ttimo.net>
Sun, 13 Apr 2008 17:28:01 +0000 (17:28 +0000)
committerTTimo <ttimo@ttimo.net>
Sun, 13 Apr 2008 17:28:01 +0000 (17:28 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@249 8a3a26a2-13c4-0310-b231-cf6edde360e5

radiant/preferences.cpp

index 29aae8bbc8d838d1b3927b9d646350a06ba74c86..df20d71dc39be586ce0f264165b64334de8c512e 100644 (file)
@@ -3167,7 +3167,7 @@ CGameInstall::CGameInstall() {
        memset( m_availGames, 0, sizeof( m_availGames ) );
 }
 
-static void CGameInstall::OnBtnBrowseEngine( GtkWidget *widget, gpointer data ) {
+void CGameInstall::OnBtnBrowseEngine( GtkWidget *widget, gpointer data ) {
        Sys_Printf( "OnBtnBrowseEngine\n" );
 
        CGameInstall* i = static_cast<CGameInstall*>( data );
@@ -3182,7 +3182,7 @@ static void CGameInstall::OnBtnBrowseEngine( GtkWidget *widget, gpointer data )
        }
 }
 
-static void CGameInstall::OnGameSelectChanged( GtkWidget *widget, gpointer data ) {
+void CGameInstall::OnGameSelectChanged( GtkWidget *widget, gpointer data ) {
        Sys_Printf( "OnGameSelectChanged\n" );
 
        CGameInstall* i = static_cast<CGameInstall*>( data );
@@ -3377,7 +3377,7 @@ void CGameInstall::Run() {
                break;
        }
        case GAME_WARSOW: {
-               fprintf( fg, "  gametools=\"%installs/WarsowPack/game\"\n", g_strAppPath.GetBuffer() );
+               fprintf( fg, "  gametools=\"%sinstalls/WarsowPack/game\"\n", g_strAppPath.GetBuffer() );
                fprintf( fg, "  prefix=\".warsow\"\n" );
                Str source = g_strAppPath.GetBuffer();
                source += "installs/";