openbsd-ports/graphics/feh/patches/patch-src_events_c

13 lines
428 B
Plaintext
Raw Normal View History

2011-10-11 03:49:07 -04:00
$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)) {