X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/87ce72956ba5f221b8288b34d126d0345684b555..4d5d51e903a42c23800540930244448c4aacae16:/sbr/geteditor.c diff --git a/sbr/geteditor.c b/sbr/geteditor.c index 9ef6f5c0..a0071998 100644 --- a/sbr/geteditor.c +++ b/sbr/geteditor.c @@ -18,10 +18,10 @@ get_default_editor(void) char *str; if (default_editor) - return default_editor; + return default_editor; if (!(str = context_find("editor")) && !(str = getenv("VISUAL")) && - !(str = getenv("EDITOR"))) { + !(str = getenv("EDITOR"))) { str = "prompter"; }