]> Cypherpunks repositories - gostls13.git/commitdiff
unicode: Fixed an out of date comment (MaxLatin1, not Latin1Max).
authorAaron Jacobs <jacobsa@google.com>
Mon, 16 Feb 2015 21:21:14 +0000 (08:21 +1100)
committerMinux Ma <minux@golang.org>
Mon, 16 Feb 2015 21:35:33 +0000 (21:35 +0000)
Change-Id: I3ca878e9685f650a9ff02aaac0e2e3cca89634c6
Reviewed-on: https://go-review.googlesource.com/4970
Reviewed-by: Minux Ma <minux@golang.org>
src/unicode/graphic.go

index ba90b4e518905e48ba82f0f58dd95aa4c37895a2..81eae3e762347608f31a26af379afe37385ae93d 100644 (file)
@@ -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
 }