aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 8bbaa1c..19c1646 100644
--- a/src/main.c
+++ b/src/main.c
@@ -138,10 +138,10 @@ void handleevent(XEvent *event){
break;
case Expose:
if(curimg){
- if(curimg->state >= LOADED)
- curimg->state = LOADED;
- else if(curimg->state > FASTLOADED)
- curimg->state = FASTLOADED;
+ if(curimg->state >= SCALED)
+ curimg->state = SCALED;
+ else if(curimg->state > FASTSCALED)
+ curimg->state = FASTSCALED;
}
break;
case KeyPress: