mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcursor.git
synced 2026-05-05 06:28:06 +02:00
fix a missing initializer
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
This commit is contained in:
parent
cea72e1427
commit
7623dae73c
1 changed files with 4 additions and 2 deletions
|
|
@ -805,8 +805,10 @@ _XcursorCreateGlyphCursor(Display *dpy,
|
|||
Cursor
|
||||
_XcursorCreateFontCursor (Display *dpy, unsigned int shape)
|
||||
{
|
||||
static XColor _Xconst foreground = { 0, 0, 0, 0 }; /* black */
|
||||
static XColor _Xconst background = { 0, 65535, 65535, 65535 }; /* white */
|
||||
#define DATA(c) { 0UL, c, c, c, 0, 0 }
|
||||
static XColor _Xconst foreground = DATA(0); /* black */
|
||||
static XColor _Xconst background = DATA(65535); /* white */
|
||||
#undef DATA
|
||||
|
||||
/*
|
||||
* the cursor font contains the shape glyph followed by the mask
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue