aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-10-13 22:40:07 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-10-13 22:40:07 +0200
commitcf14e7c1ae70f41661aabd80795686cd05b5c195 (patch)
treebb7866f08156a3a9c1f24c0aa0342573296be58b
parentd8a5b898d8f8ff20930fcacbbf9e4387809b78a7 (diff)
downloadmoony.lv2-cf14e7c1ae70f41661aabd80795686cd05b5c195.tar.xz
ui: deprecate EDITOR env var.
-rw-r--r--VERSION2
-rw-r--r--plugin/simple_ui.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/VERSION b/VERSION
index dbd6318..1b1b7a1 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.29.31
+0.29.33
diff --git a/plugin/simple_ui.c b/plugin/simple_ui.c
index 6bf2a17..b319595 100644
--- a/plugin/simple_ui.c
+++ b/plugin/simple_ui.c
@@ -126,14 +126,12 @@ _show_cb(LV2UI_Handle instance)
const char *command = "open -nW";
#else // Linux/BSD
//const char *command = "xdg-open";
- const char *command = "xterm -e vim -o2";
+ const char *command = "xterm -e vi";
#endif
// get default editor from environment
const char *moony_editor = getenv("MOONY_EDITOR");
if(!moony_editor)
- moony_editor = getenv("EDITOR");
- if(!moony_editor)
moony_editor = command;
char *dup = strdup(moony_editor);
char **args = dup ? _spawn_parse_env(dup, ui->path) : NULL;