Skip to content

Commit fac0bfe

Browse files
committed
oops
1 parent ea2bd98 commit fac0bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s2ts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ func capitalize(s string) string {
259259
l := last
260260
last = r
261261
if unicode.IsSpace(r) {
262-
return 0
262+
return -1
263263
}
264264

265265
if !unicode.IsLetter(l) && unicode.IsLetter(r) {

0 commit comments

Comments
 (0)