termux-packages/x11-packages/feh/feh-2.25.1_src_keyevents.c.patch

13 lines
462 B
Diff
Raw Normal View History

2018-09-10 00:42:26 +02:00
diff -uNr feh-2.25.1/src/keyevents.c feh-2.25.1.mod/src/keyevents.c
--- feh-2.25.1/src/keyevents.c 2018-03-07 18:53:33.000000000 +0200
+++ feh-2.25.1.mod/src/keyevents.c 2018-06-21 17:31:53.800193243 +0300
@@ -226,7 +226,7 @@
free(confpath);
- if (!conf && ((conf = fopen("/etc/feh/keys", "r")) == NULL))
+ if (!conf && ((conf = fopen("/data/data/com.termux/files/usr/etc/feh/keys", "r")) == NULL))
return;
while (fgets(line, sizeof(line), conf)) {