]> www.fi.muni.cz Git - evince.git/blobdiff - impress/r_back.c
Enable print to a PDF. Fixes bug #332121.
[evince.git] / impress / r_back.c
index 84681da6b6d547fa417baf607a01ce2fecb945d1..29a30bbbb1c99cfb2c9c0da7c6fa85d9b71d48d7 100644 (file)
@@ -16,7 +16,7 @@ _imp_fill_back(ImpRenderCtx *ctx, void *drw_data, iks *node)
        iks *x;
 
        type = r_get_style(ctx, node, "draw:fill");
-       if (!type) return 0;
+       if (type == 0) return 0;
 
        if (strcmp(type, "solid") == 0) {
                if (r_get_color(ctx, node, "draw:fill-color", &col)) {