patch-src_events_c 429 B

12345678910111213
  1. $OpenBSD: patch-src_events_c,v 1.10 2016/08/30 14:44:37 dcoppa Exp $
  2. --- src/events.c.orig Sun Aug 28 22:25:42 2016
  3. +++ src/events.c Tue Aug 30 16:28:12 2016
  4. @@ -123,7 +123,7 @@ void init_buttonbindings(void)
  5. free(confpath);
  6. - if (!conf && ((conf = fopen("/etc/feh/buttons", "r")) == NULL))
  7. + if (!conf && ((conf = fopen("${SYSCONFDIR}/feh/buttons", "r")) == NULL))
  8. return;
  9. while (fgets(line, sizeof(line), conf)) {