some small fixes

This commit is contained in:
ceriel
1989-12-06 12:38:18 +00:00
parent 5e2915d143
commit 58eaf6df5b
2 changed files with 7 additions and 4 deletions

View File

@@ -296,7 +296,6 @@ quoted(pstr)
}
else {
switch (*str++) {
case 'n':
ch = '\n';
break;
@@ -312,8 +311,12 @@ quoted(pstr)
case 'f':
ch = '\f';
break;
case 'v':
ch = '\v';
break;
default :
ch = *str;
ch = *(str - 1);
break;
}
}
*pstr = str;