[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
This commit is contained in:
Thell Fowler 2009-04-28 16:13:46 +00:00
parent aed6bdf267
commit 342fa5b95a

View File

@ -593,8 +593,6 @@ void WordStyleDlg::switchToTheme()
_themeName.clear(); _themeName.clear();
_themeName.assign( (TCHAR *)::SendMessage(_hSwitch2ThemeCombo, CB_GETITEMDATA, iSel, 0) ); _themeName.assign( (TCHAR *)::SendMessage(_hSwitch2ThemeCombo, CB_GETITEMDATA, iSel, 0) );
//if (!_themeName.compare(prevThemeName) ) return;
if ( _isThemeDirty ) { if ( _isThemeDirty ) {
TCHAR themeFileName[MAX_PATH]; TCHAR themeFileName[MAX_PATH];
lstrcpy(themeFileName, prevThemeName.c_str()); lstrcpy(themeFileName, prevThemeName.c_str());