summaryrefslogtreecommitdiff
path: root/src/libnsgif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnsgif.c')
-rw-r--r--src/libnsgif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnsgif.c b/src/libnsgif.c
index 95bbbfb..479d161 100644
--- a/src/libnsgif.c
+++ b/src/libnsgif.c
@@ -589,7 +589,7 @@ static void gif__record_previous_frame(gif_animation *gif)
}
if (gif->prev_frame != NULL &&
- gif->width * gif->height < gif->prev_width * gif->prev_height) {
+ gif->width * gif->height > gif->prev_width * gif->prev_height) {
need_alloc = true;
}