]> www.fi.muni.cz Git - evince.git/blobdiff - impress/r_back.c
Reduce relocations. Bug #360616.
[evince.git] / impress / r_back.c
index 84681da6b6d547fa417baf607a01ce2fecb945d1..94b2949e2ab96997e264e312b9d52691d9a40ce1 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 (G_UNLIKELY (type == 0)) return 0;
 
        if (strcmp(type, "solid") == 0) {
                if (r_get_color(ctx, node, "draw:fill-color", &col)) {