X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fmisc.c;h=5107e1d5a3566d169fe2d23a8a8d52396b5a3cfc;hb=da3f3e0b3ba1a283787845d1553c5bb1a096533f;hp=2cd98730ec752202f372605cc7199c5f58dec322;hpb=df6200e97e4039ca0e7513a72459fd6482dc5058;p=chaz%2Ftar diff --git a/src/misc.c b/src/misc.c index 2cd9873..5107e1d 100644 --- a/src/misc.c +++ b/src/misc.c @@ -123,13 +123,13 @@ unquote_string (char *string) source++; break; - case 'n': - *destination++ = '\n'; + case 'a': + *destination++ = '\a'; source++; break; - - case 't': - *destination++ = '\t'; + + case 'b': + *destination++ = '\b'; source++; break; @@ -138,8 +138,8 @@ unquote_string (char *string) source++; break; - case 'b': - *destination++ = '\b'; + case 'n': + *destination++ = '\n'; source++; break; @@ -148,6 +148,16 @@ unquote_string (char *string) source++; break; + case 't': + *destination++ = '\t'; + source++; + break; + + case 'v': + *destination++ = '\v'; + source++; + break; + case '?': *destination++ = 0177; source++;