aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dict
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-05-07 22:42:06 +0000
committerrsc <devnull@localhost>2005-05-07 22:42:06 +0000
commitbb0266fe6137ecd81eea1c74e34723c5a1bc4caf (patch)
treeeabd639cfa662d05748e899f16573e1f739cd070 /src/cmd/dict
parentbc7da02954403d4b46285b8f87a62d60c5eb58f8 (diff)
downloadplan9port-bb0266fe6137ecd81eea1c74e34723c5a1bc4caf.tar.gz
plan9port-bb0266fe6137ecd81eea1c74e34723c5a1bc4caf.tar.bz2
plan9port-bb0266fe6137ecd81eea1c74e34723c5a1bc4caf.zip
no wide character constants; sigh
Diffstat (limited to 'src/cmd/dict')
-rw-r--r--src/cmd/dict/dict.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/dict/dict.c b/src/cmd/dict/dict.c
index 4526648e..6704775a 100644
--- a/src/cmd/dict/dict.c
+++ b/src/cmd/dict/dict.c
@@ -502,7 +502,7 @@ getpref(char *pat, Rune *pre)
case 0x7c: case 0x5e: case 0x24:
*pre = 0;
return p-pat;
- case L'\\':
+ case '\\':
p += n;
p += chartorune(++pre, p);
pre++;
@@ -542,7 +542,7 @@ getfield(Rune *rp)
if ((c = Bgetrune(bindex)) < 0)
return 0;
if(c == '\t' || c == '\n') {
- *rp = L'\0';
+ *rp = '\0';
return 1;
}
*rp++ = c;