diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/image.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/image.c b/src/image.c index 38887ced25b..8607b33a7a8 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -1805,9 +1805,11 @@ image_frame_cache_size (struct frame *f) | |||
| 1805 | { | 1805 | { |
| 1806 | struct image *img = c->images[i]; | 1806 | struct image *img = c->images[i]; |
| 1807 | 1807 | ||
| 1808 | #ifdef USE_CAIRO | ||
| 1808 | if (img) | 1809 | if (img) |
| 1809 | total += img->pixmap->width * img->pixmap->height * | 1810 | total += img->pixmap->width * img->pixmap->height * |
| 1810 | img->pixmap->bits_per_pixel / 8; | 1811 | img->pixmap->bits_per_pixel / 8; |
| 1812 | #endif | ||
| 1811 | } | 1813 | } |
| 1812 | return total; | 1814 | return total; |
| 1813 | } | 1815 | } |