no wide character constants; sigh
This commit is contained in:
parent
bc7da02954
commit
bb0266fe61
9 changed files with 43 additions and 43 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue