[hackers] [sbase] Fix tabs in libutil/unescape.c || FRIGN

From: <git_AT_suckless.org>
Date: Thu, 29 Jan 2015 22:09:38 +0100 (CET)

commit 4c06b93d9563c7f45482aa345d0b6aeea15f78ae
Author: FRIGN <dev_AT_frign.de>
Date: Thu Jan 29 21:59:27 2015 +0100

    Fix tabs in libutil/unescape.c

diff --git a/libutil/unescape.c b/libutil/unescape.c
index 497fb78..7f5c41f 100644
--- a/libutil/unescape.c
+++ b/libutil/unescape.c
_AT_@ -16,14 +16,14 @@ unescape(char *s)
                 off = 0;
 
                 switch (s[i + 1]) {
- case '\\': s[i] = '\\'; off++; break;
- case 'a': s[i] = '\a'; off++; break;
- case 'b': s[i] = '\b'; off++; break;
- case 'f': s[i] = '\f'; off++; break;
- case 'n': s[i] = '\n'; off++; break;
- case 'r': s[i] = '\r'; off++; break;
- case 't': s[i] = '\t'; off++; break;
- case 'v': s[i] = '\v'; off++; break;
+ case '\\': s[i] = '\\'; off++; break;
+ case 'a': s[i] = '\a'; off++; break;
+ case 'b': s[i] = '\b'; off++; break;
+ case 'f': s[i] = '\f'; off++; break;
+ case 'n': s[i] = '\n'; off++; break;
+ case 'r': s[i] = '\r'; off++; break;
+ case 't': s[i] = '\t'; off++; break;
+ case 'v': s[i] = '\v'; off++; break;
                 case '\0':
                         eprintf("%s: null escape sequence\n", argv0);
                 default:
Received on Thu Jan 29 2015 - 22:09:38 CET

This archive was generated by hypermail 2.3.0 : Thu Jan 29 2015 - 22:12:09 CET