Fix compile error with cmake -DENABLE_RSVG=OFF
This commit is contained in:
parent
7d972e53d7
commit
df9df99c23
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue