From 57376baa404758f6986b451c1db3a968a295372b Mon Sep 17 00:00:00 2001 From: Timothee 'TTimo' Besset Date: Sat, 5 May 2012 08:46:41 -0500 Subject: [PATCH] typo fix --- radiant/preferences.cpp | 4 ++-- radiant/preferences.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 (){ -- 2.39.2