REVIEWED: Flags set/clear #5169
This commit is contained in:
parent
5fbf67a630
commit
3cf3b309c6
1 changed files with 16 additions and 8 deletions
|
|
@ -271,7 +271,7 @@ static DWORD MakeWindowStyle(unsigned flags)
|
|||
|
||||
// Minimized takes precedence over maximized
|
||||
int mized = MIZED_NONE;
|
||||
if (FLAG_CHECK(flags, FLAG_WINDOW_MINIMIZED)) mized = MIZED_MIN;
|
||||
if (FLAG_IS_SET(flags, FLAG_WINDOW_MINIMIZED)) mized = MIZED_MIN;
|
||||
if (flags & FLAG_WINDOW_MAXIMIZED) mized = MIZED_MAX;
|
||||
|
||||
switch (mized)
|
||||
|
|
|
|||
Loading…
Reference in a new issue