From 342fa5b95a88fb011d55bc27801b6a5d75711632 Mon Sep 17 00:00:00 2001 From: Thell Fowler Date: Tue, 28 Apr 2009 16:13:46 +0000 Subject: [PATCH] [CLEAN] Remove un-needed _themeName check that caused bug in Theme Selector list updater. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@468 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp b/PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp index 02943f92..26d276ec 100644 --- a/PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp +++ b/PowerEditor/src/WinControls/ColourPicker/WordStyleDlg.cpp @@ -593,8 +593,6 @@ void WordStyleDlg::switchToTheme() _themeName.clear(); _themeName.assign( (TCHAR *)::SendMessage(_hSwitch2ThemeCombo, CB_GETITEMDATA, iSel, 0) ); - //if (!_themeName.compare(prevThemeName) ) return; - if ( _isThemeDirty ) { TCHAR themeFileName[MAX_PATH]; lstrcpy(themeFileName, prevThemeName.c_str());