From: divverent Date: Thu, 5 Mar 2009 11:28:15 +0000 (+0000) Subject: also support \ path name separator. So much for "all systems". X-Git-Tag: svn-r421~209 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e647ac225ff9ac442dd1e6cd0aa7096299cc0418;p=xonotic%2Fnetradiant.git 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 --- diff --git a/radiant/environment.cpp b/radiant/environment.cpp index 99c6971a..0656f8db 100644 --- a/radiant/environment.cpp +++ b/radiant/environment.cpp @@ -127,7 +127,7 @@ void gamedetect() // we found nothing // go backwards --p; - while(p != buf && *p != '/') + while(p != buf && *p != '/' && *p != '\\') --p; } }