summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Tao <nigeltao@golang.org>2010-05-24 15:07:47 -0700
committerNigel Tao <nigeltao@golang.org>2010-05-24 15:07:47 -0700
commit0348a75ad2e942d049612a382fd15360dcd858c0 (patch)
tree2077f0109ed595ad7beaa26937bc66e59764a152
parenta08d70a3dc91478a6959e4a48bcdfa0921104c9b (diff)
downloadgolang-0348a75ad2e942d049612a382fd15360dcd858c0.tar.gz
Fix typo in exp/draw/x11.
R=rsc CC=golang-dev http://codereview.appspot.com/1282041
-rw-r--r--src/pkg/exp/draw/x11/conn.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/exp/draw/x11/conn.go b/src/pkg/exp/draw/x11/conn.go
index acbc884ad..f1a3dca1c 100644
--- a/src/pkg/exp/draw/x11/conn.go
+++ b/src/pkg/exp/draw/x11/conn.go
@@ -319,7 +319,7 @@ func readU32LE(r io.Reader, b []byte) (uint32, os.Error) {
return uint32(b[0]) | uint32(b[1])<<8 | uint32(b[2])<<16 | uint32(b[3])<<24, nil
}
-// setU32LE sets b[0:4] to be the big-endian representation of u.
+// setU32LE sets b[0:4] to be the little-endian representation of u.
func setU32LE(b []byte, u uint32) {
b[0] = byte((u >> 0) & 0xff)
b[1] = byte((u >> 8) & 0xff)