summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2011-01-07 17:23:36 +0000
committerJazzyNico <nicoduf@yahoo.fr>2011-01-07 17:23:36 +0000
commit126cd0331f9ca6d2dc141226033272822466a1aa (patch)
treef2be41179a372f876cc1b59bb3bdf7c1595ecb9e /src
parentTranslation. de.po converted to Unix file format. (diff)
downloadinkscape-126cd0331f9ca6d2dc141226033272822466a1aa.tar.gz
inkscape-126cd0331f9ca6d2dc141226033272822466a1aa.zip
Export. Fix PS/EPS export (Bug #698340, PS Level Restriction reversed.
(bzr r10000)
Diffstat (limited to 'src')
-rw-r--r--src/extension/internal/cairo-ps-out.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/internal/cairo-ps-out.cpp b/src/extension/internal/cairo-ps-out.cpp
index 07312aab1..a5b7b3237 100644
--- a/src/extension/internal/cairo-ps-out.cpp
+++ b/src/extension/internal/cairo-ps-out.cpp
@@ -142,7 +142,7 @@ CairoPsOutput::save(Inkscape::Extension::Output *mod, SPDocument *doc, gchar con
int level = CAIRO_PS_LEVEL_2;
try {
new_level = mod->get_param_enum("PSlevel");
- if((new_level != NULL) && !(g_ascii_strcasecmp("PS3", new_level) == 0))
+ if((new_level != NULL) && (g_ascii_strcasecmp("PS3", new_level) == 0))
level = CAIRO_PS_LEVEL_3;
} catch(...) {}
@@ -225,7 +225,7 @@ CairoEpsOutput::save(Inkscape::Extension::Output *mod, SPDocument *doc, gchar co
int level = CAIRO_PS_LEVEL_2;
try {
new_level = mod->get_param_enum("PSlevel");
- if((new_level != NULL) && !(g_ascii_strcasecmp("PS3", new_level) == 0))
+ if((new_level != NULL) && (g_ascii_strcasecmp("PS3", new_level) == 0))
level = CAIRO_PS_LEVEL_3;
} catch(...) {}