aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-09-28 16:32:48 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-09-28 16:32:48 +0000
commitb8d656093831d5acbfc016926d9189c8750e7db9 (patch)
tree3c18e44e7f69d4b708dd82319e5b656372a122d3 /main.c
parentRe: [w3m-dev 03320] Re: Passwords (diff)
downloadw3m-b8d656093831d5acbfc016926d9189c8750e7db9.tar.gz
w3m-b8d656093831d5acbfc016926d9189c8750e7db9.zip
[w3m-dev 03323] EDITOR
* main.c (MAIN): use not_null() From: Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp>
Diffstat (limited to '')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 7fa0bf2..060f4b9 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.113 2002/09/24 17:06:04 ukai Exp $ */
+/* $Id: main.c,v 1.114 2002/09/28 16:32:49 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -444,9 +444,9 @@ MAIN(int argc, char **argv, char **envp)
set_no_proxy(p);
}
- if (Editor == NULL && (p = getenv("EDITOR")) != NULL)
+ if (!non_null(Editor) && (p = getenv("EDITOR")) != NULL)
Editor = p;
- if (Mailer == NULL && (p = getenv("MAILER")) != NULL)
+ if (!non_null(Mailer) && (p = getenv("MAILER")) != NULL)
Mailer = p;
/* argument search 2 */