Fix width/height typo.

This commit is contained in:
Owen Taylor 2005-06-17 16:19:08 +00:00
parent 66f8b1202e
commit 92222f8bca
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2005-06-17 Owen Taylor <otaylor@redhat.com>
* src/cairo-xcb-surface.c (_get_image_surface)
* src/cairo-xlib-surface.c (_get_image_surface): Fix
width/height typo.
2005-06-17 Kristian Høgsberg <krh@redhat.com>
* src/cairo-glitz-surface.c: (_cairo_glitz_surface_get_image):

View file

@ -370,7 +370,7 @@ _get_image_surface (cairo_xcb_surface_t *surface,
rect.x = interest_rect->x;
rect.y = interest_rect->y;
rect.width = interest_rect->width;
rect.height = interest_rect->width;
rect.height = interest_rect->height;
if (rect.x > x1)
x1 = rect.x;

View file

@ -291,7 +291,7 @@ _get_image_surface (cairo_xlib_surface_t *surface,
rect.x = interest_rect->x;
rect.y = interest_rect->y;
rect.width = interest_rect->width;
rect.height = interest_rect->width;
rect.height = interest_rect->height;
if (rect.x > x1)
x1 = rect.x;