Commit 490af4fd authored by Aaron Jacobs's avatar Aaron Jacobs Committed by Minux Ma

unicode: Fixed an out of date comment (MaxLatin1, not Latin1Max).

Change-Id: I3ca878e9685f650a9ff02aaac0e2e3cca89634c6
Reviewed-on: https://go-review.googlesource.com/4970Reviewed-by: 's avatarMinux Ma <minux@golang.org>
parent a25e40df
...@@ -82,7 +82,7 @@ func IsControl(r rune) bool { ...@@ -82,7 +82,7 @@ func IsControl(r rune) bool {
if uint32(r) <= MaxLatin1 { if uint32(r) <= MaxLatin1 {
return properties[uint8(r)]&pC != 0 return properties[uint8(r)]&pC != 0
} }
// All control characters are < Latin1Max. // All control characters are < MaxLatin1.
return false return false
} }
......
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