0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/x11-packages/feh/feh-3.0_src_keyevents.c.patch
2022-04-18 14:08:43 +05:30

13 lines
434 B
Diff

diff -uNr feh-3.0/src/keyevents.c feh-3.0.mod/src/keyevents.c
--- feh-3.0/src/keyevents.c 2018-11-09 18:17:58.000000000 +0200
+++ feh-3.0.mod/src/keyevents.c 2018-11-23 23:30:45.083952428 +0200
@@ -226,7 +226,7 @@
free(confpath);
- if (!conf && ((conf = fopen("/etc/feh/keys", "r")) == NULL))
+ if (!conf && ((conf = fopen("@TERMUX_PREFIX@/etc/feh/keys", "r")) == NULL))
return;
while (fgets(line, sizeof(line), conf)) {