user32: Use current width or height if a mode specifies zero width or height for...
commite6b2da317350547f6d6cb6b8f52831428cf84cc9
authorZhiyi Zhang <zzhang@codeweavers.com>
Tue, 27 Oct 2020 07:00:47 +0000 (27 15:00 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 27 Oct 2020 19:24:23 +0000 (27 20:24 +0100)
tree58409aa86dd9876fc771daa5eb30d53052f1fab1
parent2756cabbe43afcc1b10c2156765a5a5c12e8f721
user32: Use current width or height if a mode specifies zero width or height for ChangeDisplaySettingsExW().

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/user32/sysparams.c
dlls/user32/tests/monitor.c