[BUG_FIXED] (Author: Andreas Jonsson) Fix regression -systemtray option not working properly.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1082 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2013-07-23 18:24:19 +00:00
parent c47a5e7c1d
commit 4a225476fe

View File

@ -99,7 +99,10 @@ void Notepad_plus_Window::init(HINSTANCE hInst, HWND parent, const TCHAR *cmdLin
posInfo.length = sizeof(WINDOWPLACEMENT);
posInfo.flags = 0;
posInfo.showCmd = nppGUI._isMaximized?SW_SHOWMAXIMIZED:SW_SHOWNORMAL;
if(_isPrelaunch)
posInfo.showCmd = SW_HIDE;
else
posInfo.showCmd = nppGUI._isMaximized?SW_SHOWMAXIMIZED:SW_SHOWNORMAL;
posInfo.ptMinPosition.x = (LONG)-1;
posInfo.ptMinPosition.y = (LONG)-1;
posInfo.ptMaxPosition.x = (LONG)-1;