summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-02-02 16:48:41 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-02-02 16:48:41 +0100
commit0c9361f50b3fecb62d905135d431373d93969512 (patch)
treeca0e0a5c608b9c51d77bcfd14ffe1364f7c04e62
parent5b3dd190b43b6cda8c834e905f9e86577aa22248 (diff)
downloadlr-0c9361f50b3fecb62d905135d431373d93969512.tar.gz
lr-0c9361f50b3fecb62d905135d431373d93969512.tar.xz
lr-0c9361f50b3fecb62d905135d431373d93969512.zip
reformat v0.2
-rw-r--r--lr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lr.c b/lr.c
index e1348df..c819491 100644
--- a/lr.c
+++ b/lr.c
@@ -1181,7 +1181,7 @@ color_size_on(off_t s)
 {
 	int c;
 
-        if (!Gflag)
+	if (!Gflag)
 		return;
 
 	if	(s <		  1024LL) c = 46;
@@ -1279,7 +1279,7 @@ color_age_on(time_t t)
 	time_t age = now - t;
 	int c;
 
-        if (!Gflag)
+	if (!Gflag)
 		return;
 
 	if	(age <		     0LL) c = 196;
@@ -1413,17 +1413,17 @@ print_format(struct fileinfo *fi)
 			if (!*s)
 				break;
 
-                        time_t t = (*s == 'A' ? fi->sb.st_atime :
+			time_t t = (*s == 'A' ? fi->sb.st_atime :
 			    *s == 'C' ? fi->sb.st_ctime :
 			    fi->sb.st_mtime);
 
 			color_age_on(t);
 			if (*s == '-') {
-                                printf("%3ldd%3ldh%3ldm%3lds",
-                                    ((now - t) / (60*60*24)),
-                                    ((now - t) / (60*60)) % 24,
-                                    ((now - t) / 60) % 60,
-                                    (now - t) % 60);
+				printf("%3ldd%3ldh%3ldm%3lds",
+				    ((now - t) / (60*60*24)),
+				    ((now - t) / (60*60)) % 24,
+				    ((now - t) / 60) % 60,
+				    (now - t) % 60);
 			} else {
 				tfmt[1] = *s;
 				strftime(buf, sizeof buf, tfmt, localtime(&t));