]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
typo fix
authorTimothee 'TTimo' Besset <ttimo@ttimo.net>
Sat, 5 May 2012 13:46:41 +0000 (08:46 -0500)
committerTimothee 'TTimo' Besset <ttimo@ttimo.net>
Sat, 5 May 2012 13:46:41 +0000 (08:46 -0500)
radiant/preferences.cpp
radiant/preferences.h

index 7759ed5f0bb2a58735ea5a0797af7abb3f3759d7..9d70e344661caf6998a80f378c8952360a0e0e02 100644 (file)
@@ -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;
index 9a120766d6531b55fcc91d7295fe12b42c7b1e78..6aad97dde5c653a909b20b708f088efcfef8c3da 100644 (file)
@@ -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 (){