Make gif's decoder.copy_to_image_buffer ! not !?

This commit is contained in:
Nigel Tao committed 2018-12-28 17:32:48 +11:00
1 parent 19ddd4450f
commit 3ba450ba55
6 files changed
+58 -28

No files matched your search

+1 -5
View File
@@ -78,15 +78,11 @@ func (n *Expr) appendStr(buf []byte, tm *t.Map, parenthesize bool, depth uint32)
} else {
switch n.id0 {
case t.IDStatus:
buf = append(buf, "status "...)
case 0:
if n.id1 != 0 {
buf = append(buf, tm.ByID(n.id1)...)
buf = append(buf, '.')
}
fallthrough
case 0:
buf = append(buf, tm.ByID(n.id2)...)
case t.IDOpenParen: