aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 0983b757f08..8a6307f077d 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -771,6 +771,9 @@ default_PATH (void)
771 path = buf; 771 path = buf;
772 772
773#elif defined DOS_NT 773#elif defined DOS_NT
774 /* This is not exactly what Windows does when there's no PATH (see
775 documentation of CreateProcessW), but it's a good-enough
776 approximation. */
774 path = strcpy (staticbuf, "."); 777 path = strcpy (staticbuf, ".");
775#endif 778#endif
776 } 779 }