Don't check hwndInsertAfter if SWP_NOZORDER is set.

This commit is contained in:
Huw D M Davies 2002-04-24 22:20:11 +00:00 committed by Alexandre Julliard
parent 64896d03da
commit 0f31a34bc7
1 changed files with 1 additions and 0 deletions

View File

@ -730,6 +730,7 @@ static BOOL fixup_flags( WINDOWPOS *winpos )
}
/* Check hwndInsertAfter */
if (winpos->flags & SWP_NOZORDER) goto done;
/* fix sign extension */
if (winpos->hwndInsertAfter == (HWND)0xffff) winpos->hwndInsertAfter = HWND_TOPMOST;