aboutsummaryrefslogtreecommitdiffstats
path: root/src/xlib.c
diff options
context:
space:
mode:
authorJohn Hawthorn <jhawthor@uvic.ca>2008-06-18 15:57:16 -0700
committerJohn Hawthorn <jhawthor@uvic.ca>2008-06-18 15:57:16 -0700
commita9b03212984cb3821b16a6bd3e5d8686933ebd0e (patch)
tree582258d94b56260062e3ecf14d8cd38d1c86ee63 /src/xlib.c
parentc9b3a0d39da0edf4f3a109bed97183f93b16c70d (diff)
downloadmirror-meh-a9b03212984cb3821b16a6bd3e5d8686933ebd0e.tar.gz
mirror-meh-a9b03212984cb3821b16a6bd3e5d8686933ebd0e.tar.bz2
mirror-meh-a9b03212984cb3821b16a6bd3e5d8686933ebd0e.zip
more complete bmp support. Supports 1,2,4,8,24 bit images without compression
(including OS/2)
Diffstat (limited to 'src/xlib.c')
-rw-r--r--src/xlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xlib.c b/src/xlib.c
index e781835..7d8c027 100644
--- a/src/xlib.c
+++ b/src/xlib.c
@@ -111,7 +111,7 @@ void drawimage(struct image *img, int width, int height){
static struct image *lastimg = NULL;
static int lastwidth = 0, lastheight = 0;
static XImage *ximg = NULL;
- if(img == lastimg && width == lastwidth && height == lastheight){
+ if(0 && img == lastimg && width == lastwidth && height == lastheight){
}else{
if(ximg)
XDestroyImage(ximg);