Fix problem with "truename wildcard."

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@576 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2003-04-30 15:42:06 +00:00
parent 484f700bba
commit 80a6dd82af

View File

@ -528,7 +528,8 @@ COUNT truename(const char FAR * src, char * dest, COUNT mode)
if (i & PNE_WILDCARD)
gotAnyWildcards = TRUE;
}
--src; /* terminator or separator was skipped */
if (*src != '\0')
--src; /* terminator or separator was skipped */
break;
}
}