aboutsummaryrefslogtreecommitdiff
path: root/src/gif.c
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-06-17 11:21:32 +0200
committerSebastian Geerken <devnull@localhost>2013-06-17 11:21:32 +0200
commite29d48718515b0afe04fecc396f7c34865726cab (patch)
treebb72f513ccc03e5f81d7447a02dc7b203e67fa0f /src/gif.c
parent126ae913efb3829c980a2151db5bbcfd68c5b39c (diff)
Corrections of gamma.
Diffstat (limited to 'src/gif.c')
-rw-r--r--src/gif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gif.c b/src/gif.c
index a4233267..69fcf5d3 100644
--- a/src/gif.c
+++ b/src/gif.c
@@ -816,7 +816,8 @@ static size_t Gif_do_img_desc(DilloGif *gif, void *Buf,
/** \todo Gamma for GIF? */
a_Dicache_set_parms(gif->url, gif->version, gif->Image,
- gif->Width, gif->Height, DILLO_IMG_TYPE_INDEXED, 2.2);
+ gif->Width, gif->Height, DILLO_IMG_TYPE_INDEXED,
+ 1 / 2.2);
Flags = buf[8];