summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e2d4057)
raw | patch | inline | side by side (parent: e2d4057)
author | theadib <theadib@users.sourceforge.net> | |
Wed, 26 Dec 2007 23:02:26 +0000 (23:02 +0000) | ||
committer | theadib <theadib@users.sourceforge.net> | |
Wed, 26 Dec 2007 23:02:26 +0000 (23:02 +0000) |
src/extension/internal/cairo-render-context.cpp | patch | blob | history |
diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp
index 9a2cab829c9884bcf7ca30a9fe0aeca6c30e7c60..1697719d716735596c97eec1d8dfbf94ee58fc26 100644 (file)
#ifdef CAIRO_HAS_PS_SURFACE
case CAIRO_SURFACE_TYPE_PS:
surface = cairo_ps_surface_create_for_stream(Inkscape::Extension::Internal::_write_callback, _stream, width, height);
-#if (CAIRO_VERSION < CAIRO_VERSION_ENCODE(1, 5, 2))
+#if (CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 5, 2))
cairo_ps_surface_restrict_to_level (surface, (cairo_ps_level_t)_ps_level);
#endif
break;