null_pointer_data must actually be 24 bytes. Fixes another Valgrind

warning.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@787 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Peter Åstrand 2004-10-21 08:43:22 +00:00
parent 43982a43ce
commit 78710116bc

3
xwin.c
View File

@ -946,7 +946,8 @@ BOOL
ui_create_window(void)
{
uint8 null_pointer_mask[1] = { 0x80 };
uint8 null_pointer_data[9] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
uint8 null_pointer_data[24] = { 0x00 };
XSetWindowAttributes attribs;
XClassHint *classhints;
XSizeHints *sizehints;