openbsd-ports/graphics/feh/patches/patch-src_events_c
2011-10-11 07:49:07 +00:00

13 lines
428 B
Plaintext

$OpenBSD: patch-src_events_c,v 1.3 2011/10/11 07:49:07 dcoppa Exp $
--- src/events.c.orig Tue Oct 11 09:21:18 2011
+++ src/events.c Tue Oct 11 09:23:17 2011
@@ -121,7 +121,7 @@ void init_buttonbindings(void)
free(confpath);
- if (!conf && ((conf = fopen("/etc/feh/buttons", "r")) == NULL))
+ if (!conf && ((conf = fopen("${SYSCONFDIR}/feh/buttons", "r")) == NULL))
return;
while (fgets(line, sizeof(line), conf)) {