aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/CrBFData.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-07-09 09:23:11 +0200
committermarha <marha@users.sourceforge.net>2012-07-09 09:23:11 +0200
commit75f57cf199b6c042b0f7515e3a1ab80f7ccecfab (patch)
treee0cc528599b191887512be9d04fd5a16e8d86f26 /libX11/src/CrBFData.c
parentadab311edf18f4123f03cfa52424e4de29f4380b (diff)
downloadvcxsrv-75f57cf199b6c042b0f7515e3a1ab80f7ccecfab.tar.gz
vcxsrv-75f57cf199b6c042b0f7515e3a1ab80f7ccecfab.tar.bz2
vcxsrv-75f57cf199b6c042b0f7515e3a1ab80f7ccecfab.zip
Solved compilation errors
Diffstat (limited to 'libX11/src/CrBFData.c')
-rw-r--r--libX11/src/CrBFData.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/libX11/src/CrBFData.c b/libX11/src/CrBFData.c
index 6708a9b91..b5c4c30b6 100644
--- a/libX11/src/CrBFData.c
+++ b/libX11/src/CrBFData.c
@@ -60,18 +60,18 @@ Pixmap XCreateBitmapFromData(
return (Pixmap) None;
} else {
XImage ximage = {
- .height = height,
- .width = width,
- .depth = 1,
- .bits_per_pixel = 1,
- .xoffset = 0,
- .format = XYPixmap,
- .data = (char *) data,
- .byte_order = LSBFirst,
- .bitmap_unit = 8,
- .bitmap_bit_order = LSBFirst,
- .bitmap_pad = 8,
- .bytes_per_line = (width + 7) / 8,
+ /*.width =*/ width,
+ /*.height =*/ height,
+ /*.xoffset =*/ 0,
+ /*.format =*/ XYPixmap,
+ /*.data =*/ (char *) data,
+ /*.byte_order =*/ LSBFirst,
+ /*.bitmap_unit =*/ 8,
+ /*.bitmap_bit_order =*/ LSBFirst,
+ /*.bitmap_pad =*/ 8,
+ /*.depth =*/ 1,
+ /*.bytes_per_line =*/ (width + 7) / 8,
+ /*.bits_per_pixel =*/ 1
};
XPutImage(display, pix, gc, &ximage, 0, 0, 0, 0, width, height);
XFreeGC(display, gc);