@@ 97,9 97,8 @@ pdfstring(Stream *stream)
Sungetc(stream);
oct[i] = 0;
c = strtol(oct, nil, 8);
- }else if(c >= nelem(esc) || (c = esc[c]) == 0){
- werrstr("unknown escape char '%c'", c);
- goto err;
+ }else if(c <= nelem(esc) && esc[c] != 0){
+ c = esc[c];
}else if(c < 0){
continue;
}