[BUG_FIXED] Fix the crash bug while closing Notepad++ if Styles Configurator is never launched.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@27 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
donho 2007-09-06 21:41:20 +00:00
parent 750ff805fc
commit 07ac344588
1 changed files with 1 additions and 1 deletions

View File

@ -6652,7 +6652,7 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
const NppGUI & nppgui = pNppParam->getNppGUI();
if (::IsWindowVisible(_configStyleDlg.getHSelf()))
if (_configStyleDlg.isCreated() && ::IsWindowVisible(_configStyleDlg.getHSelf()))
_configStyleDlg.restoreGlobalOverrideValues();
Session currentSession;