]> git.eshelyaron.com Git - emacs.git/commitdiff
(init_cmdargs): Check openp result for 1, not != 0.
authorRichard M. Stallman <rms@gnu.org>
Sat, 14 Aug 1993 18:37:47 +0000 (18:37 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 14 Aug 1993 18:37:47 +0000 (18:37 +0000)
src/emacs.c

index a7b184d8b69b90290257d55ded4a46ffec890441..7e727ae9a15c755f0338ebe02a31a3f02267dcfc 100644 (file)
@@ -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);
     }