Commit c95e11db authored by Nigel Tao's avatar Nigel Tao

Fix typo in exp/draw/x11.

R=rsc
CC=golang-dev
https://golang.org/cl/1282041
parent 934a520d
...@@ -319,7 +319,7 @@ func readU32LE(r io.Reader, b []byte) (uint32, os.Error) { ...@@ -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 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) { func setU32LE(b []byte, u uint32) {
b[0] = byte((u >> 0) & 0xff) b[0] = byte((u >> 0) & 0xff)
b[1] = byte((u >> 8) & 0xff) b[1] = byte((u >> 8) & 0xff)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment