termux-packages/packages/fte/src-cfte.cpp.patch

12 lines
494 B
Diff
Raw Normal View History

2022-02-21 20:45:26 +01:00
--- 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);