Add missing initialization for ximage.xoffset.

This commit is contained in:
Carl Worth 2005-10-06 11:34:46 +00:00
parent 167c3b430f
commit 4ac391f861
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-10-06 Carl Worth <cworth@cworth.org>
* src/cairo-xlib-surface.c: (_draw_image_surface): Add missing
initialization for ximage.xoffset.
2005-10-04 Anders Carlsson <andersca@imendio.com>
* configure.in: Invoke PKG_PROG_PKG_CONFIG so $PKG_CONFIG

View file

@ -681,6 +681,7 @@ _draw_image_surface (cairo_xlib_surface_t *surface,
ximage.red_mask = red;
ximage.green_mask = green;
ximage.blue_mask = blue;
ximage.xoffset = 0;
XInitImage (&ximage);