aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c2
1 files changed, 1 insertions, 1 deletions
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)
171 Lisp_Object found; 171 Lisp_Object found;
172 int yes = openp (Vexec_path, Vinvocation_name, 172 int yes = openp (Vexec_path, Vinvocation_name,
173 EXEC_SUFFIXES, &found, 1); 173 EXEC_SUFFIXES, &found, 1);
174 if (yes) 174 if (yes == 1)
175 Vinvocation_directory = Ffile_name_directory (found); 175 Vinvocation_directory = Ffile_name_directory (found);
176 } 176 }
177 177