Fix truename("C:") where the current directory is different from the root:

then it should not append a backslash.


git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1471 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2009-07-05 19:46:12 +00:00
parent 8cce4e7d84
commit 39a9574824

View File

@ -470,7 +470,7 @@ COUNT truename(const char FAR * src, char * dest, COUNT mode)
}
/* append the path specified in src */
addSep = ADD; /* add separator */
addSep = *src ? ADD : DONT_ADD; /* add separator */
while(*src)
{