mirror of
https://github.com/golang/go
synced 2024-11-21 21:54:40 -07:00
exp/norm/normalize.go: fix typo
R=golang-dev, r, dsymonds CC=golang-dev https://golang.org/cl/5874045
This commit is contained in:
parent
b8b308d184
commit
f5f80368c4
@ -356,7 +356,7 @@ func lastBoundary(fd *formInfo, b []byte) int {
|
||||
return -1
|
||||
}
|
||||
if info.size == 0 { // ends with incomplete rune
|
||||
if p == 0 { // starts wtih incomplete rune
|
||||
if p == 0 { // starts with incomplete rune
|
||||
return -1
|
||||
}
|
||||
i = p
|
||||
|
Loading…
Reference in New Issue
Block a user