Commit 632be894 authored by Gustavo Niemeyer's avatar Gustavo Niemeyer Committed by Russ Cox

cgo: output alignment fix

R=rsc
CC=golang-dev
https://golang.org/cl/3902044
parent 02ff646f
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment