changeset 4632:48634fa190aa

(init_cmdargs): Check openp result for 1, not != 0.
author Richard M. Stallman <rms@gnu.org>
date Sat, 14 Aug 1993 18:37:47 +0000
parents fc781d29fd48
children 738840d8e627
files src/emacs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Sat Aug 14 11:04:06 1993 +0000
+++ b/src/emacs.c	Sat Aug 14 18:37:47 1993 +0000
@@ -171,7 +171,7 @@
       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);
     }