summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-12-20 00:25:01 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-01-09 14:36:14 +0000
commitf379e1dbb3150a617a910c7709cc85dccc79861b (patch)
treec61bbd226aff8a49c2455e95fbce1a3a3fb32be9
parent18358ed541e1aea20b6be18b51c587bd35fdabc6 (diff)
downloadrockbox-f379e1dbb3150a617a910c7709cc85dccc79861b.tar.gz
rockbox-f379e1dbb3150a617a910c7709cc85dccc79861b.zip
ImageViewer: Fix GIF Decoder progress bar
Change-Id: I9db9b27f9e12f08323534038bc6f0882329a2c00
-rw-r--r--apps/plugins/imageviewer/gif/gif_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/imageviewer/gif/gif_decoder.c b/apps/plugins/imageviewer/gif/gif_decoder.c
index f57eab1cf1..0fde184ec2 100644
--- a/apps/plugins/imageviewer/gif/gif_decoder.c
+++ b/apps/plugins/imageviewer/gif/gif_decoder.c
@@ -301,7 +301,7 @@ void gif_decode(struct gif_decoder *d,
Row + i, Col, Width);
if (pf_progress != NULL)
- pf_progress(25*(i+1), 100);
+ pf_progress((i+1), Height);
}
}