no wide character constants; sigh

This commit is contained in:
rsc 2005-05-07 22:42:06 +00:00
parent bc7da02954
commit bb0266fe61
9 changed files with 43 additions and 43 deletions

View file

@ -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;
}