860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
|
while(*p) {
if(*p=='\\') {
p++;
if(isimg) {
isimg=0;
*q++='\\';
} else {
switch(*p++) {
case '0' ... '7': *q++=*p+1-'0'; break;
case 'b': *q++=15; break;
case 'c': *q++=12; break;
case 'i': *q++=14; isimg=1; break;
case 'l': *q++=11; break;
case 'n': *q++=10; break;
case 'q': *q++=16; break;
|
|
|
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
|
while(*p) {
if(*p=='\\') {
p++;
if(isimg) {
isimg=0;
*q++='\\';
} else {
switch(*p) {
case '0' ... '7': *q++=*p+1-'0'; break;
case 'b': *q++=15; break;
case 'c': *q++=12; break;
case 'i': *q++=14; isimg=1; break;
case 'l': *q++=11; break;
case 'n': *q++=10; break;
case 'q': *q++=16; break;
|