aboutsummaryrefslogtreecommitdiff
path: root/src/unicode
diff options
context:
space:
mode:
authorAaron Jacobs <jacobsa@google.com>2015-02-17 08:21:14 +1100
committerMinux Ma <minux@golang.org>2015-02-16 21:35:33 +0000
commit490af4fd83132c6ab98de702dd9c0051820cb49c (patch)
tree4e92c87d377bff95b57f01103c11daf272c583b8 /src/unicode
parenta25e40df4755cd05b8e142d2b4280c36756a9360 (diff)
downloadgo-490af4fd83132c6ab98de702dd9c0051820cb49c.tar.xz
unicode: Fixed an out of date comment (MaxLatin1, not Latin1Max).
Change-Id: I3ca878e9685f650a9ff02aaac0e2e3cca89634c6 Reviewed-on: https://go-review.googlesource.com/4970 Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/unicode')
-rw-r--r--src/unicode/graphic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unicode/graphic.go b/src/unicode/graphic.go
index ba90b4e518..81eae3e762 100644
--- a/src/unicode/graphic.go
+++ b/src/unicode/graphic.go
@@ -82,7 +82,7 @@ func IsControl(r rune) bool {
if uint32(r) <= MaxLatin1 {
return properties[uint8(r)]&pC != 0
}
- // All control characters are < Latin1Max.
+ // All control characters are < MaxLatin1.
return false
}