From: Richard M. Stallman Date: Sat, 14 Aug 1993 18:37:47 +0000 (+0000) Subject: (init_cmdargs): Check openp result for 1, not != 0. X-Git-Tag: emacs-19.34~11219 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e443f843a444ef7d18b8b0c8dcbbbba83be81794;p=emacs.git (init_cmdargs): Check openp result for 1, not != 0. --- diff --git a/src/emacs.c b/src/emacs.c index a7b184d8b69..7e727ae9a15 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -171,7 +171,7 @@ init_cmdargs (argc, argv, skip_args) Lisp_Object found; int yes = openp (Vexec_path, Vinvocation_name, EXEC_SUFFIXES, &found, 1); - if (yes) + if (yes == 1) Vinvocation_directory = Ffile_name_directory (found); }