mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 14:13:36 +00:00
12 lines
448 B
Diff
12 lines
448 B
Diff
--- ngspice-37/src/frontend/inp.c 2022-05-17 18:00:52.000000000 +0800
|
|
+++ ngspice-37.mod/src/frontend/inp.c 2022-06-16 20:41:04.550164798 +0800
|
|
@@ -1697,7 +1697,7 @@
|
|
if (Def_Editor && *Def_Editor)
|
|
editor = Def_Editor;
|
|
else
|
|
- editor = "/usr/bin/vi";
|
|
+ editor = "@TERMUX_PREFIX@/bin/vi";
|
|
}
|
|
}
|
|
int len = snprintf(buf, BSIZE_SP - 1, "%s %s", editor, filename);
|