diff options
Diffstat (limited to 'nexgb/xgbgen')
-rw-r--r-- | nexgb/xgbgen/go_struct.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nexgb/xgbgen/go_struct.go b/nexgb/xgbgen/go_struct.go index a988893..cb765a0 100644 --- a/nexgb/xgbgen/go_struct.go +++ b/nexgb/xgbgen/go_struct.go @@ -85,7 +85,7 @@ func (s *Struct) Write(c *Context) { func (s *Struct) WriteList(c *Context) { c.Putln("// %sListBytes writes a list of %s values to a byte slice.", - s.SrcName()) + s.SrcName(), s.SrcName()) c.Putln("func %sListBytes(buf []byte, list []%s) int {", s.SrcName(), s.SrcName()) c.Putln("b := 0") |