gdi32: Avoid exceeding the actual bitmap height.
commitabd0cddc5fbf45736b5846affb12e299f5f3e99f
authorHaoyang Chen <chenhaoyang@uniontech.com>
Thu, 12 Nov 2020 10:38:15 +0000 (12 10:38 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 12 Nov 2020 12:58:33 +0000 (12 13:58 +0100)
treec69e3bf3b04bdbee00c36f80048c6d1ab05b35e6
parent176ca7b87bcaf830d93c5a219b966ecb7879841c
gdi32: Avoid exceeding the actual bitmap height.

The bottom-up case is handled earlier on.  For the top-down
case, 'lines' is left untouched.

Signed-off-by: Haoyang Chen <chenhaoyang@uniontech.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/gdi32/dib.c