Code

check for cairo version
authortheadib <theadib@users.sourceforge.net>
Wed, 26 Dec 2007 22:06:24 +0000 (22:06 +0000)
committertheadib <theadib@users.sourceforge.net>
Wed, 26 Dec 2007 22:06:24 +0000 (22:06 +0000)
src/extension/internal/cairo-ps-out.cpp

index 475f4d973add8516a552fa3a23c7bc738ed11227..f51d3317d2cab34475ea1388acbfe7138a47f874 100644 (file)
@@ -164,7 +164,7 @@ CairoPsOutput::init (void)
                        "<id>org.inkscape.print.ps.cairo</id>\n"
                        "<param name=\"PSlevel\" gui-text=\"" N_("Restrict to PS level") "\" type=\"enum\" >\n"
                                "<item value='PS3'>" N_("PostScript 3") "</item>\n"
-#if (CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 5, 2)
+#if (CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 5, 2))
                 "<item value='PS2'>" N_("PostScript level 2") "</item>\n"
 #endif
             "</param>\n"