mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
Fix a build error from the last change to textarea_edit
Just a silly thinko.
This commit is contained in:
parent
860d3cc5ef
commit
7a96a2eda9
@ -611,7 +611,8 @@ textarea_edit(int op, struct terminal *term_, struct form_state *fs_,
|
|||||||
fn = save_textarea_file(fs_->value);
|
fn = save_textarea_file(fs_->value);
|
||||||
if (!fn) return;
|
if (!fn) return;
|
||||||
|
|
||||||
ed = get_opt_str("document.browse.forms.editor", ses);
|
ed = get_opt_str("document.browse.forms.editor",
|
||||||
|
doc_view->session);
|
||||||
if (!ed || !*ed) {
|
if (!ed || !*ed) {
|
||||||
ed = getenv("EDITOR");
|
ed = getenv("EDITOR");
|
||||||
if (!ed || !*ed) ed = "vi";
|
if (!ed || !*ed) ed = "vi";
|
||||||
|
Loading…
Reference in New Issue
Block a user