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:
divverent 2009-03-05 11:28:15 +00:00
parent b7cd2135c9
commit e647ac225f

View File

@ -127,7 +127,7 @@ void gamedetect()
// we found nothing
// go backwards
--p;
while(p != buf && *p != '/')
while(p != buf && *p != '/' && *p != '\\')
--p;
}
}