diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-01-15 11:10:32 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-01-15 11:10:32 +0100 |
commit | 788fa40bbf04868c3836c9b086c9979649e2c516 (patch) | |
tree | 246585290fe7ef5ef9d1bb4eb8dc277e45bcf018 /src/keyevents.c | |
parent | 11d7a68de63112305d833e802db0b4654c846b77 (diff) |
Update tests
Diffstat (limited to 'src/keyevents.c')
-rw-r--r-- | src/keyevents.c | 2 |
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)) { |