From 7abf1ea01826e404b177c4031f5b71fb602ec715 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Wed, 10 Mar 2021 13:03:06 +0100 Subject: [PATCH] radiant/texwindow: fix a minor typo --- radiant/texwindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/radiant/texwindow.cpp b/radiant/texwindow.cpp index b9dd7b44..451c9cec 100644 --- a/radiant/texwindow.cpp +++ b/radiant/texwindow.cpp @@ -397,7 +397,7 @@ void ( *TextureBrowser_textureSelected )( const char* shader ); void TextureBrowser_updateScroll( TextureBrowser& textureBrowser ); -const char* TextureBrowser_getComonShadersName(){ +const char* TextureBrowser_getCommonShadersName(){ const char* value = g_pGameDescription->getKeyValue( "common_shaders_name" ); if ( !string_empty( value ) ) { return value; @@ -405,7 +405,7 @@ const char* TextureBrowser_getComonShadersName(){ return "Common"; } -const char* TextureBrowser_getComonShadersDir(){ +const char* TextureBrowser_getCommonShadersDir(){ const char* value = g_pGameDescription->getKeyValue( "common_shaders_dir" ); if ( !string_empty( value ) ) { return value; @@ -981,7 +981,7 @@ void TextureBrowser_SetHideUnused( TextureBrowser& textureBrowser, bool hideUnus void TextureBrowser_ShowStartupShaders( TextureBrowser& textureBrowser ){ if ( textureBrowser.m_startupShaders == STARTUPSHADERS_COMMON ) { - TextureBrowser_ShowDirectory( textureBrowser, TextureBrowser_getComonShadersDir() ); + TextureBrowser_ShowDirectory( textureBrowser, TextureBrowser_getCommonShadersDir() ); } } @@ -2761,7 +2761,7 @@ void TextureBrowser_constructPreferences( PreferencesPage& page ){ ); page.appendEntry( "Mousewheel Increment", GlobalTextureBrowser().m_mouseWheelScrollIncrement ); { - const char* startup_shaders[] = { "None", TextureBrowser_getComonShadersName() }; + const char* startup_shaders[] = { "None", TextureBrowser_getCommonShadersName() }; page.appendCombo( "Load Shaders at Startup", reinterpret_cast( GlobalTextureBrowser().m_startupShaders ), STRING_ARRAY_RANGE( startup_shaders ) ); } } -- 2.39.2