From 3251e911878b78b0aad8fc09c782f8d81c878f75 Mon Sep 17 00:00:00 2001
From: drkhsh <me@drkhsh.at>
Date: Fri, 28 Oct 2022 00:51:34 +0200
Subject: radical re-formatting 2/3: Fix blocks

Fixes coding style. Formatting commits suck, incoherent coding style
sucks more.
https://suckless.org/coding_style/
---
 components/num_files.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'components/num_files.c')

diff --git a/components/num_files.c b/components/num_files.c
index 8205562..e4b4281 100644
--- a/components/num_files.c
+++ b/components/num_files.c
@@ -20,9 +20,9 @@ num_files(const char *path)
 
 	num = 0;
 	while ((dp = readdir(fd))) {
-		if (!strcmp(dp->d_name, ".") || !strcmp(dp->d_name, "..")) {
+		if (!strcmp(dp->d_name, ".") || !strcmp(dp->d_name, ".."))
 			continue; /* skip self and parent */
-		}
+
 		num++;
 	}
 
-- 
cgit v1.2.3