also support \ path name separator. So much for "all systems".
git-svn-id: svn://svn.icculus.org/netradiant/trunk@211 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
parent
b7cd2135c9
commit
e647ac225f
|
|
@ -127,7 +127,7 @@ void gamedetect()
|
||||||
// we found nothing
|
// we found nothing
|
||||||
// go backwards
|
// go backwards
|
||||||
--p;
|
--p;
|
||||||
while(p != buf && *p != '/')
|
while(p != buf && *p != '/' && *p != '\\')
|
||||||
--p;
|
--p;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user