diff options
author | Rob Pike <r@golang.org> | 2009-04-12 16:13:34 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-04-12 16:13:34 -0700 |
commit | 55ecc963139934e45ab67b0446354fe3592ab611 (patch) | |
tree | e18fd92108297b78da0e58b500c35c15d84ef90d | |
parent | b9fabe3d64b673857ff752a68661a6bd34cf3a81 (diff) | |
download | go-55ecc963139934e45ab67b0446354fe3592ab611.tar.gz |
change replacement rune to its correct value, fffd
R=ken
OCL=27342
CL=27342
-rw-r--r-- | src/runtime/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/string.c b/src/runtime/string.c index 37f6ff0a1..4d89e9600 100644 --- a/src/runtime/string.c +++ b/src/runtime/string.c @@ -193,7 +193,7 @@ static int32 chartorune(int32 *rune, byte *str); enum { Runeself = 0x80, - Runeerror = 0xfff8, // fffd in plan9 + Runeerror = 0xfffd, }; // func stringiter(string, int) (retk int); |