From e647ac225ff9ac442dd1e6cd0aa7096299cc0418 Mon Sep 17 00:00:00 2001 From: divverent Date: Thu, 5 Mar 2009 11:28:15 +0000 Subject: [PATCH] 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 --- radiant/environment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.39.2