&& should be || in check for \, / and :

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@661 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2003-08-28 20:53:21 +00:00
parent 4e0c27f016
commit 7471b8f614
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ BOOL init_device(struct dhdr FAR * dhp, char *cmdLine, COUNT mode,
for (p = q = cmdLine; *p && *p != ' ' && *p != '\t'; p++)
{
if (*p == '\\' || *p == '/' && *p == ':')
if (*p == '\\' || *p == '/' || *p == ':')
q = p + 1;
}
for (i = 0; i < 8; i++) {