Fix compile error with cmake -DENABLE_RSVG=OFF

This commit is contained in:
o9000 2015-11-05 01:15:59 +01:00
parent 7d972e53d7
commit df9df99c23

View file

@ -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 {