summaryrefslogtreecommitdiff
path: root/src/keyevents.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-01-15 11:10:32 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-01-15 11:10:32 +0100
commit788fa40bbf04868c3836c9b086c9979649e2c516 (patch)
tree246585290fe7ef5ef9d1bb4eb8dc277e45bcf018 /src/keyevents.c
parent11d7a68de63112305d833e802db0b4654c846b77 (diff)
Update tests
Diffstat (limited to 'src/keyevents.c')
-rw-r--r--src/keyevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyevents.c b/src/keyevents.c
index 8e7251d..f3a6624 100644
--- a/src/keyevents.c
+++ b/src/keyevents.c
@@ -162,7 +162,7 @@ void init_keyevents(void) {
free(confpath);
- if (!conf)
+ if (!conf && ((conf = fopen("/etc/feh/keys", "r")) == NULL))
return;
while (fgets(line, sizeof(line), conf)) {