comctl32: Remove/swap limits if min > max in MCM_SETRANGE.
commit9774745330c7f644a38d4eef08c644edb7022193
authorVitaliy Margolen <wine-patch@kievinfo.com>
Thu, 16 Feb 2006 11:19:36 +0000 (16 12:19 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 16 Feb 2006 11:19:36 +0000 (16 12:19 +0100)
tree1144c8b832f4d8d0a21233799e76377109d65faf
parentf273bdc0b53f1e872e88e967158b0fa87eb35f4a
comctl32: Remove/swap limits if min > max in MCM_SETRANGE.
We should swap min & max only when both limits are being
set. Otherwise limit that being set should invalidate other limit
(remove it).
dlls/comctl32/monthcal.c
dlls/comctl32/tests/monthcal.c