1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:44:40 -07:00

Fix xgb/example.go typo.

R=adg
CC=golang-dev
https://golang.org/cl/210047
This commit is contained in:
Nigel Tao 2010-02-23 11:54:57 +11:00
parent 2551cf9d1a
commit 2ac3df210b

View File

@ -32,7 +32,7 @@ func main() {
fmt.Printf("atom = %d\n", atom.Atom) fmt.Printf("atom = %d\n", atom.Atom)
points := make([]xgb.Point, 2) points := make([]xgb.Point, 2)
points[1] = xgb.Point{5, 5} points[0] = xgb.Point{5, 5}
points[1] = xgb.Point{100, 120} points[1] = xgb.Point{100, 120}
hosts, _ := c.ListHosts() hosts, _ := c.ListHosts()