diff src/emacs.c @ 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 fdb92f0aa8c7
children 1fc792473491
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);
     }