patch-src_keyevents_c 429 B

12345678910111213
  1. $OpenBSD: patch-src_keyevents_c,v 1.12 2016/11/04 08:57:31 dcoppa Exp $
  2. --- src/keyevents.c.orig Tue Nov 1 11:03:51 2016
  3. +++ src/keyevents.c Fri Nov 4 09:52:50 2016
  4. @@ -174,7 +174,7 @@ void init_keyevents(void) {
  5. free(confpath);
  6. - if (!conf && ((conf = fopen("/etc/feh/keys", "r")) == NULL))
  7. + if (!conf && ((conf = fopen("${SYSCONFDIR}/feh/keys", "r")) == NULL))
  8. return;
  9. while (fgets(line, sizeof(line), conf)) {