]> diplodocus.org Git - nmh/blobdiff - sbr/geteditor.c
new.c: Order two return statements to match comment.
[nmh] / sbr / geteditor.c
index 80602af34ad479d87dddf9cc56f147a7c690f95e..9889a5e39a31290680205e0969fa0268eab7d44f 100644 (file)
@@ -20,7 +20,7 @@ get_default_editor(void)
 
     if (!(str = context_find("editor")) && !(str = getenv("VISUAL")) &&
        !(str = getenv("EDITOR"))) {
-       str = DEFAULT_EDITOR;
+       str = "vi";
     }
 
     return (default_editor = str);