From e443f843a444ef7d18b8b0c8dcbbbba83be81794 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 14 Aug 1993 18:37:47 +0000 Subject: [PATCH] (init_cmdargs): Check openp result for 1, not != 0. --- src/emacs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5