aboutsummaryrefslogtreecommitdiff
path: root/swaylock
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2018-07-13 21:23:18 -0400
committerBrian Ashworth <bosrsf04@gmail.com>2018-07-16 12:17:40 -0400
commit14c949c1c7b8a56de45636ed643bcec3d670c2ec (patch)
treeac7ec312f539a9be6d9939b2a577cf7bc6e579d5 /swaylock
parent85584734ce4bb6a1955f446c294fdf041a20e610 (diff)
Remove leftover parens
Diffstat (limited to 'swaylock')
-rw-r--r--swaylock/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaylock/main.c b/swaylock/main.c
index fd838ec3..4ca53b84 100644
--- a/swaylock/main.c
+++ b/swaylock/main.c
@@ -716,7 +716,7 @@ static char *get_config_path(void) {
wordexp_t p;
char *path;
- for (size_t i = 0; i < (sizeof(config_paths) / sizeof(char *)); ++i) {
+ for (size_t i = 0; i < sizeof(config_paths) / sizeof(char *); ++i) {
if (wordexp(config_paths[i], &p, 0) == 0) {
path = strdup(p.we_wordv[0]);
wordfree(&p);