mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 03:20:39 -08:00
(getdefdir): Include drive letter and colon when
constructing default directory for drive.
This commit is contained in:
parent
2396dbcbdd
commit
37513bdf93
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue