Fix compile error with cmake -DENABLE_RSVG=OFF
This commit is contained in:
@@ -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)
|
Imlib_Image load_image(const char *path, int cached)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_RSVG
|
|
||||||
Imlib_Image image;
|
Imlib_Image image;
|
||||||
|
#ifdef HAVE_RSVG
|
||||||
if (cached) {
|
if (cached) {
|
||||||
image = imlib_load_image_immediately(path);
|
image = imlib_load_image_immediately(path);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user