openbsd-ports/graphics/feh/patches/patch-src_keyevents_c
2011-07-05 08:05:35 +00:00

13 lines
428 B
Plaintext

$OpenBSD: patch-src_keyevents_c,v 1.5 2011/07/05 08:05:35 dcoppa Exp $
--- src/keyevents.c.orig Mon Jul 4 14:49:17 2011
+++ src/keyevents.c Tue Jul 5 09:59:07 2011
@@ -156,7 +156,7 @@ void init_keyevents(void) {
free(confpath);
- if (!conf && ((conf = fopen("/etc/feh/keys", "r")) == NULL))
+ if (!conf && ((conf = fopen("${SYSCONFDIR}/feh/keys", "r")) == NULL))
return;
while (fgets(line, sizeof(line), conf)) {