aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/quote.c
diff options
context:
space:
mode:
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;
}