termux-packages/x11-packages/feh/feh-2.25.1_src_events.c.patch
2022-04-18 14:08:05 +05:30

13 lines
456 B
Diff

diff -uNr feh-2.25.1/src/events.c feh-2.25.1.mod/src/events.c
--- feh-2.25.1/src/events.c 2018-03-07 18:53:33.000000000 +0200
+++ feh-2.25.1.mod/src/events.c 2018-06-21 17:31:53.783526575 +0300
@@ -124,7 +124,7 @@
free(confpath);
- if (!conf && ((conf = fopen("/etc/feh/buttons", "r")) == NULL))
+ if (!conf && ((conf = fopen("/data/data/com.termux/files/usr/etc/feh/buttons", "r")) == NULL))
return;
while (fgets(line, sizeof(line), conf)) {