Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/impress/r_back.c
diff options
context:
space:
mode:
Diffstat (limited to 'impress/r_back.c')
-rw-r--r--impress/r_back.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/impress/r_back.c b/impress/r_back.c
index 84681da..94b2949 100644
--- a/impress/r_back.c
+++ b/impress/r_back.c
@@ -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)) {