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

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