From df9df99c237cf1201089565e22cfc1f518e3eecd Mon Sep 17 00:00:00 2001 From: o9000 Date: Thu, 5 Nov 2015 01:15:59 +0100 Subject: [PATCH] Fix compile error with cmake -DENABLE_RSVG=OFF --- src/util/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/common.c b/src/util/common.c index 6293aeb..c271e18 100644 --- a/src/util/common.c +++ b/src/util/common.c @@ -463,8 +463,8 @@ void draw_text(PangoLayout *layout, cairo_t *c, int posx, int posy, Color *color Imlib_Image load_image(const char *path, int cached) { -#ifdef HAVE_RSVG Imlib_Image image; +#ifdef HAVE_RSVG if (cached) { image = imlib_load_image_immediately(path); } else {