From 87c1596c4f95a46e9a4418821e92713109c90131 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 28 Dec 2013 09:25:03 -0500 Subject: Fix fmt'd output for union list writing. --- xgbgen/go_union.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xgbgen') diff --git a/xgbgen/go_union.go b/xgbgen/go_union.go index 1a8684c..74816d3 100644 --- a/xgbgen/go_union.go +++ b/xgbgen/go_union.go @@ -117,7 +117,7 @@ func (u *Union) Write(c *Context) { func (u *Union) WriteList(c *Context) { c.Putln("// %sListBytes writes a list of %s values to a byte slice.", - u.SrcName()) + u.SrcName(), u.SrcName()) c.Putln("func %sListBytes(buf []byte, list []%s) int {", u.SrcName(), u.SrcName()) c.Putln("b := 0") -- cgit v1.2.3