mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 18:08:03 +02:00
Fix width/height typo.
This commit is contained in:
parent
66f8b1202e
commit
92222f8bca
3 changed files with 8 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue