diff options
author | Nigel Tao <nigeltao@golang.org> | 2010-02-23 11:54:57 +1100 |
---|---|---|
committer | Nigel Tao <nigeltao@golang.org> | 2010-02-23 11:54:57 +1100 |
commit | 723ebc7ad1f193a6b2e4f182f491fbd0fe2df4c0 (patch) | |
tree | bd192bdfabd1ca955a85bad0c24baf702a010de4 /src | |
parent | af29cdd2e603651515d9eb2c4eefe579d75b37f5 (diff) | |
download | golang-723ebc7ad1f193a6b2e4f182f491fbd0fe2df4c0.tar.gz |
Fix xgb/example.go typo.
R=adg
CC=golang-dev
http://codereview.appspot.com/210047
Diffstat (limited to 'src')
-rw-r--r-- | src/pkg/xgb/example.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/xgb/example.go b/src/pkg/xgb/example.go index 1c5ad7505..c603ea4e2 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() |