summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 819d8c9)
raw | patch | inline | side by side (parent: 819d8c9)
author | JazzyNico <nicoduf@yahoo.fr> | |
Fri, 7 Jan 2011 17:23:36 +0000 (18:23 +0100) | ||
committer | JazzyNico <nicoduf@yahoo.fr> | |
Fri, 7 Jan 2011 17:23:36 +0000 (18:23 +0100) |
src/extension/internal/cairo-ps-out.cpp | patch | blob | history |
index 07312aab180d8c948fd86ac4dc4ba19a21839a03..a5b7b32377e46d13b71982a2dfee2a0488845a1e 100644 (file)
@@ -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(...) {}