X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/87ce72956ba5f221b8288b34d126d0345684b555..3c751489b2aca846fe2305a6a3d189381579b61e:/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"; }