summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-04-12 16:13:34 -0700
committerRob Pike <r@golang.org>2009-04-12 16:13:34 -0700
commit44b201710f3f44e1a19b66d428575f43086e2796 (patch)
treee18fd92108297b78da0e58b500c35c15d84ef90d
parenta0b44b426de5d1acdf5a135049441e5c85708d92 (diff)
downloadgolang-44b201710f3f44e1a19b66d428575f43086e2796.tar.gz
change replacement rune to its correct value, fffd
R=ken OCL=27342 CL=27342
-rw-r--r--src/runtime/string.c2
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);