[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:
parent
c47a5e7c1d
commit
4a225476fe
@ -99,6 +99,9 @@ void Notepad_plus_Window::init(HINSTANCE hInst, HWND parent, const TCHAR *cmdLin
|
||||
|
||||
posInfo.length = sizeof(WINDOWPLACEMENT);
|
||||
posInfo.flags = 0;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user