From: Timothee 'TTimo' Besset Date: Sat, 5 May 2012 13:46:41 +0000 (-0500) Subject: typo fix X-Git-Tag: xonotic-v0.7.0~16^2^2~5 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=57376baa404758f6986b451c1db3a968a295372b;p=xonotic%2Fnetradiant.git typo fix --- diff --git a/radiant/preferences.cpp b/radiant/preferences.cpp index 7759ed5f..9d70e344 100644 --- a/radiant/preferences.cpp +++ b/radiant/preferences.cpp @@ -2701,7 +2701,7 @@ void PrefsDlg::BuildDialog(){ // end new prefs dialog -void PrefsDlg::LoadTexdefPref( texdef_t* pTexdef, char* pName ){ +void PrefsDlg::LoadTexdefPref( texdef_t* pTexdef, const char* pName ){ char buffer[256]; memset( pTexdef, 0, sizeof( texdef_t ) ); @@ -3412,7 +3412,7 @@ void CGameInstall::Run() { radCreateDirectory(gameFilePath); } - switch ( m_availGame[ m_nComboSelect ] ) { + switch ( m_availGames[ m_nComboSelect ] ) { case GAME_Q2: gameFilePath += "q2.game"; break; diff --git a/radiant/preferences.h b/radiant/preferences.h index 9a120766..6aad97dd 100644 --- a/radiant/preferences.h +++ b/radiant/preferences.h @@ -494,7 +494,7 @@ void UpdateNvidiaAeroHack(); void LoadPrefs(); void SavePrefs(); -void LoadTexdefPref( texdef_t* pTexdef, char* pName ); +void LoadTexdefPref( texdef_t* pTexdef, const char* pName ); PrefsDlg (); virtual ~PrefsDlg (){