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 | 9ddeb2105f6c6b87a15bc020684aa2b8f97678d4 (patch) | |
| tree | e18fd92108297b78da0e58b500c35c15d84ef90d /src/runtime/string.c | |
| parent | a91a8042b47e58d718e0af0edaf2eda485cc8880 (diff) | |
| download | go-9ddeb2105f6c6b87a15bc020684aa2b8f97678d4.tar.xz | |
change replacement rune to its correct value, fffd
R=ken
OCL=27342
CL=27342
Diffstat (limited to 'src/runtime/string.c')
| -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 37f6ff0a1b..4d89e96001 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); |
