From: Nigel Tao Date: Tue, 23 Feb 2010 00:54:57 +0000 (+1100) Subject: Fix xgb/example.go typo. X-Git-Tag: weekly.2010-02-23~8 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2ac3df210b723d8f1969b070cf56f18df3b5dc57;p=gostls13.git Fix xgb/example.go typo. R=adg CC=golang-dev https://golang.org/cl/210047 --- diff --git a/src/pkg/xgb/example.go b/src/pkg/xgb/example.go index 1c5ad75054..c603ea4e23 100644 --- a/src/pkg/xgb/example.go +++ b/src/pkg/xgb/example.go @@ -32,7 +32,7 @@ func main() { fmt.Printf("atom = %d\n", atom.Atom) points := make([]xgb.Point, 2) - points[1] = xgb.Point{5, 5} + points[0] = xgb.Point{5, 5} points[1] = xgb.Point{100, 120} hosts, _ := c.ListHosts()