summaryrefslogtreecommitdiff
path: root/ext/gd/libgd/gd_gif_out.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gd/libgd/gd_gif_out.c')
-rw-r--r--ext/gd/libgd/gd_gif_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/libgd/gd_gif_out.c b/ext/gd/libgd/gd_gif_out.c
index c0a0433f4d..771e8afe2e 100644
--- a/ext/gd/libgd/gd_gif_out.c
+++ b/ext/gd/libgd/gd_gif_out.c
@@ -319,7 +319,7 @@ GIFEncode(gdIOCtxPtr fp, int GWidth, int GHeight, int GInterlace, int Background
/*
* OR in the resolution
*/
- B |= (Resolution - 1) << 5;
+ B |= (Resolution - 1) << 4;
/*
* OR in the Bits per Pixel