w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 92d454e6cf2bbbd33339217ae917fa4c0c2f6fd0
parent 94d0a870f5b0fbc2b3b9db8db5d2465fae5ed7ee
Author: ukai <ukai>
Date:   Sat, 28 Sep 2002 16:32:48 +0000

[w3m-dev 03323] EDITOR
* main.c (MAIN): use not_null()
From: Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp>

Diffstat:
MChangeLog | 5+++++
Mmain.c | 4++--
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2002-09-29 Hiroaki Shimotsu <shim@d5.bs1.fc.nec.co.jp> + + * [w3m-dev 03323] EDITOR + * main.c (MAIN): use not_null() + 2002-09-29 AIDA Shinra <aida-s@jcom.home.ne.jp> * Re: [w3m-dev 03320] Re: Passwords diff --git a/main.c b/main.c @@ -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 */