aboutsummaryrefslogtreecommitdiff
path: root/libXft/src/xftdraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXft/src/xftdraw.c')
-rw-r--r--libXft/src/xftdraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libXft/src/xftdraw.c b/libXft/src/xftdraw.c
index ab5174973..21f8538a3 100644
--- a/libXft/src/xftdraw.c
+++ b/libXft/src/xftdraw.c
@@ -301,7 +301,7 @@ XftDrawSrcPicture (XftDraw *draw, _Xconst XftColor *color)
int i;
XftColor bitmapColor;
- if (!info)
+ if (!info || !info->solidFormat)
return 0;
/*