diff options
author | Nigel Tao <nigeltao@golang.org> | 2010-05-24 15:07:47 -0700 |
---|---|---|
committer | Nigel Tao <nigeltao@golang.org> | 2010-05-24 15:07:47 -0700 |
commit | c95e11db5698b56336e6a637795c9580a66cd8e8 (patch) | |
tree | a04bc476ffc811cc140c3eabf78e1c088b3d2ac0 | |
parent | 934a520d7586db9cf4f6c89470f41d0d06377425 (diff) | |
download | go-c95e11db5698b56336e6a637795c9580a66cd8e8.tar.gz go-c95e11db5698b56336e6a637795c9580a66cd8e8.zip |
Fix typo in exp/draw/x11.
R=rsc
CC=golang-dev
https://golang.org/cl/1282041
-rw-r--r-- | src/pkg/exp/draw/x11/conn.go | 2 |
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 acbc884ad8..f1a3dca1c6 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) |