mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -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);
|
||||
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) {
|
||||
ed = getenv("EDITOR");
|
||||
if (!ed || !*ed) ed = "vi";
|
||||
|
Loading…
Reference in New Issue
Block a user