1
0
mirror of https://github.com/golang/go synced 2024-11-20 05:54:43 -07:00

cgo: output alignment fix

R=rsc
CC=golang-dev
https://golang.org/cl/3902044
This commit is contained in:
Gustavo Niemeyer 2011-01-11 10:17:54 -05:00 committed by Russ Cox
parent 02ff646fef
commit 632be89407

View File

@ -180,7 +180,7 @@ func (p *Package) structType(n *Name) (string, int64) {
fmt.Fprintf(&buf, "\t\tchar unused;\n") // avoid empty struct
off++
}
fmt.Fprintf(&buf, "\t}\n")
fmt.Fprintf(&buf, "\t}")
return buf.String(), off
}