From: Richard M. Stallman Date: Sat, 27 Apr 1996 00:52:30 +0000 (+0000) Subject: (getdefdir): Include drive letter and colon when X-Git-Tag: emacs-19.34~765 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=37513bdf9313287dd166c52a291ce536ba2aa93d;p=emacs.git (getdefdir): Include drive letter and colon when constructing default directory for drive. --- diff --git a/src/msdos.c b/src/msdos.c index c90e9766579..e7df9b13f1f 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -2091,6 +2091,8 @@ getdefdir (drive, dst) { union REGS regs; + *dst++ = (drive) ? drive + 'A' - 1 : getdisk () + 'A'; + *dst++ = ':' *dst++ = '/'; regs.h.dl = drive; #if __DJGPP__ > 1