0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-21 20:56:19 +00:00
termux-packages/disabled-packages/fte/src-cfte.cpp.patch

12 lines
494 B
Diff

--- a/src/cfte.cpp
+++ b/src/cfte.cpp
@@ -1887,7 +1887,7 @@
//fprintf(stderr, "Looking for %s\n", Cfg);
if (!FileExists(Cfg)) {
// 3. /usr/share/fte
- sprintf(tmp, "/usr/share/fte/%s", CfgName);
+ sprintf(tmp, "@TERMUX_PREFIX@/share/fte/config/%s", CfgName);
ExpandPath(tmp, Cfg, sizeof(Cfg));
if (!FileExists(Cfg)) {
sprintf(tmp, "%sconfig/%s", StartDir, CfgName);