- Don't allow making a window with negative dimensions in WM_WINDOWPOSCHANGING.

svn path=/trunk/; revision=9367
This commit is contained in:
Filip Navara 2004-05-13 20:25:50 +00:00
parent 83c27bebc6
commit 3da87fae97
2 changed files with 9 additions and 1 deletions

View file

@ -491,6 +491,9 @@ static LRESULT COMBO_WindowPosChanging(
}
}
posChanging->cx = max(posChanging->cx, 0);
posChanging->cy = max(posChanging->cy, 0);
return 0;
}