ports/graphics/feh/patches/patch-src_events_c

13 lines
330 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: src/events.c
--- src/events.c.orig
+++ src/events.c
@@ -133,7 +133,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)) {