radical re-formatting 2/3: Fix blocks
Fixes coding style. Formatting commits suck, incoherent coding style sucks more. https://suckless.org/coding_style/
This commit is contained in:
@ -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++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user