aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/quote.c
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/lib9/quote.c
parentbc7da02954403d4b46285b8f87a62d60c5eb58f8 (diff)
downloadplan9port-bb0266fe6137ecd81eea1c74e34723c5a1bc4caf.tar.gz
plan9port-bb0266fe6137ecd81eea1c74e34723c5a1bc4caf.tar.bz2
plan9port-bb0266fe6137ecd81eea1c74e34723c5a1bc4caf.zip
no wide character constants; sigh
Diffstat (limited to 'src/lib9/quote.c')
-rw-r--r--src/lib9/quote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib9/quote.c b/src/lib9/quote.c
index 32f434c4..f850009a 100644
--- a/src/lib9/quote.c
+++ b/src/lib9/quote.c
@@ -100,7 +100,7 @@ quotestrdup(char *s)
*u++ = '\'';
for(t=s; *t; t++){
r = *t;
- if(r == L'\'')
+ if(r == '\'')
*u++ = r; /* double the quote */
*u++ = r;
}
@@ -126,7 +126,7 @@ quoterunestrdup(Rune *s)
*u++ = '\'';
for(t=s; *t; t++){
r = *t;
- if(r == L'\'')
+ if(r == '\'')
*u++ = r; /* double the quote */
*u++ = r;
}