comctl32/listbox: Check for out of bounds using the index when painting the item.
commit98ece04660ca1e0640143e20b0b0c71b3c970718
authorGabriel Ivăncescu <gabrielopcode@gmail.com>
Thu, 7 Feb 2019 13:12:20 +0000 (7 15:12 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 7 Feb 2019 21:43:40 +0000 (7 22:43 +0100)
tree2c3e058a9a629cef61308fe69571f4f46e846430
parent1867b095a0e48ff8619457c703f69b5acc715ede
comctl32/listbox: Check for out of bounds using the index when painting the item.

Needed for LBS_NODATA.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/comctl32/listbox.c