summaryrefslogtreecommitdiff
path: root/src/cairo-win32-font.c
diff options
context:
space:
mode:
authorStuart Parmenter <pavlov@pavlov.net>2005-07-28 10:37:41 +0000
committerStuart Parmenter <pavlov@pavlov.net>2005-07-28 10:37:41 +0000
commitfe44b2406d30fc89ac6579bdd749b5c76e9257d8 (patch)
tree370f660c77832a3caea68a76aa81bb09dd7df7c0 /src/cairo-win32-font.c
parentcff61fbf0d85dfdebd8b522f8efda02ec2da412f (diff)
src/cairo-win32-font.c
src/cairo-win32-surface.c Use surface->base.status instead of just surface on cairo_win32_surface_t *s
Diffstat (limited to 'src/cairo-win32-font.c')
-rw-r--r--src/cairo-win32-font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-win32-font.c b/src/cairo-win32-font.c
index 68e80400..15dd96b3 100644
--- a/src/cairo-win32-font.c
+++ b/src/cairo-win32-font.c
@@ -1009,7 +1009,7 @@ _compute_a8_mask (cairo_win32_surface_t *mask_surface)
image8 = (cairo_image_surface_t *)cairo_image_surface_create (CAIRO_FORMAT_A8,
image24->width, image24->height);
- if (image8->status)
+ if (image8->base.status)
return NULL;
for (i = 0; i < image24->height; i++) {
@@ -1082,7 +1082,7 @@ _cairo_win32_scaled_font_show_glyphs (void *abstract_font,
RECT r;
tmp_surface = (cairo_win32_surface_t *)_cairo_win32_surface_create_dib (CAIRO_FORMAT_ARGB32, width, height);
- if (tmp_surface->status)
+ if (tmp_surface->base.status)
return CAIRO_STATUS_NO_MEMORY;
r.left = 0;