git: 9front

Download patch

ref: 7c8031e2a4e397bcc2017f3b9e5770d7165c2d0b
parent: 9bba5b5471fbcdabf28f85317be73d3e3dd6278f
author: cinap_lenrek <cinap_lenrek@rei2.9hal>
date: Tue Jan 10 18:42:18 EST 2012

gif: handle image dispostion mode (to be defined) 4-7 like 0,1

--- a/sys/src/cmd/jpg/gif.c
+++ b/sys/src/cmd/jpg/gif.c
@@ -350,8 +350,7 @@
 				goto Return;
 			}
 			switch((images[k]->gifflags>>2)&7){
-			case 0:
-			case 1:
+			default:
 				draw(tmp, img->r, img, msk, img->r.min);
 				draw(dst, tmp->r, tmp, nil, tmp->r.min);
 				break;
--