Commit 32e35394 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winex11.drv: Handle failure of XcursorImageCreate.

parent 96e44ddb
......@@ -486,6 +486,8 @@ static XcursorImage *create_cursor_image( CURSORICONINFO *ptr )
xor_ptr = xor_bits = and_ptr + and_size;
image = pXcursorImageCreate( ptr->nWidth, ptr->nHeight );
if (!image) return NULL;
pixel_ptr = image->pixels;
alpha_zero = check_alpha_zero(ptr, xor_bits);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment