aboutsummaryrefslogtreecommitdiffstats
path: root/src/bmp.c
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2010-01-04 10:09:04 -0800
committerJohn Hawthorn <john.hawthorn@gmail.com>2010-01-04 10:09:04 -0800
commitbdfc9445506d72d3eec7c3902449efaf13cf0d98 (patch)
tree2c75e72e332c11a3fa290c08355ea850f5612f9c /src/bmp.c
parentd6bffd293a1443d90c22c24ea162d4ebd6004b00 (diff)
downloadmirror-meh-bdfc9445506d72d3eec7c3902449efaf13cf0d98.tar.gz
mirror-meh-bdfc9445506d72d3eec7c3902449efaf13cf0d98.tar.bz2
mirror-meh-bdfc9445506d72d3eec7c3902449efaf13cf0d98.zip
major cleanup. xlib methods have been abstracted away as a generic
backend. Represent image states as flags.
Diffstat (limited to 'src/bmp.c')
-rw-r--r--src/bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bmp.c b/src/bmp.c
index 01a4970..6751a53 100644
--- a/src/bmp.c
+++ b/src/bmp.c
@@ -172,7 +172,7 @@ int bmp_read(struct image *img){
free(row);
- img->state = LOADED;
+ img->state |= LOADED | SLOWLOADED;
return 0;
}