]> Cypherpunks repositories - gostls13.git/commitdiff
Fix typo in exp/draw/x11.
authorNigel Tao <nigeltao@golang.org>
Mon, 24 May 2010 22:07:47 +0000 (15:07 -0700)
committerNigel Tao <nigeltao@golang.org>
Mon, 24 May 2010 22:07:47 +0000 (15:07 -0700)
R=rsc
CC=golang-dev
https://golang.org/cl/1282041

src/pkg/exp/draw/x11/conn.go

index acbc884ad835a097ea9ac2ac5ff708fe9122c6e5..f1a3dca1c6ce03d53290a3e52301d15ddd974916 100644 (file)
@@ -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)