Commit e443f843 authored by Richard M. Stallman's avatar Richard M. Stallman

(init_cmdargs): Check openp result for 1, not != 0.

parent 8027e2ad
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment