summaryrefslogtreecommitdiff
path: root/src/cairo-win32-printing-surface.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2009-09-22 22:44:34 +0930
committerAdrian Johnson <ajohnson@redneon.com>2009-09-22 22:44:34 +0930
commite74cb7fa3eb9a9bcdeb298d969b70fd99ba50f3d (patch)
tree7ff297da3615fb7f4bf76d2792e7191ee0d3d76b /src/cairo-win32-printing-surface.c
parent3dd2cc8f6d84253f93affecd3022c9fe4a25d60f (diff)
win32-printing: correct the use of the CAIRO_HAS_WIN32_FONT #ifdef
it was wrapping code required for non windows fonts.
Diffstat (limited to 'src/cairo-win32-printing-surface.c')
-rw-r--r--src/cairo-win32-printing-surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-win32-printing-surface.c b/src/cairo-win32-printing-surface.c
index 914b4ca4..8203e6a9 100644
--- a/src/cairo-win32-printing-surface.c
+++ b/src/cairo-win32-printing-surface.c
@@ -1479,6 +1479,7 @@ _cairo_win32_printing_surface_show_glyphs (void *abstract_surfac
else
return _cairo_win32_printing_surface_analyze_operation (surface, op, source);
}
+#endif
/* For non win32 fonts we need to check that each glyph has a
* path available. If a path is not available,
@@ -1494,7 +1495,6 @@ _cairo_win32_printing_surface_show_glyphs (void *abstract_surfac
if (status)
return status;
}
-#endif
return _cairo_win32_printing_surface_analyze_operation (surface, op, source);
}