changeset 15096:c62cd2650ced

(getdefdir): Include drive letter and colon when constructing default directory for drive.
author Richard M. Stallman <rms@gnu.org>
date Sat, 27 Apr 1996 00:52:30 +0000
parents 66db908addc7
children 32c26cb9e078
files src/msdos.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.c	Sat Apr 27 00:13:07 1996 +0000
+++ b/src/msdos.c	Sat Apr 27 00:52:30 1996 +0000
@@ -2091,6 +2091,8 @@
 {
   union REGS regs;
 
+  *dst++ = (drive) ? drive + 'A' - 1 : getdisk () + 'A';
+  *dst++ = ':'
   *dst++ = '/';
   regs.h.dl = drive;
 #if __DJGPP__ > 1