core/systems/LibrarySys.cpp
changeset 1508 398538bce59b
parent 1330 ab94316bb52b
child 1738 cb3be0b31d99
     1.1 --- a/core/systems/LibrarySys.cpp	Mon Oct 01 14:31:57 2007 +0000
     1.2 +++ b/core/systems/LibrarySys.cpp	Mon Oct 01 18:04:37 2007 +0000
     1.3 @@ -381,7 +381,7 @@
     1.4  
     1.5  	for (size_t i = length - 1;
     1.6  		 i >= 0 && i <= length - 1;
     1.7 -		 i++)
     1.8 +		 i--)
     1.9  	{
    1.10  		if (path[i] == '/' 
    1.11  #if defined PLATFORM_WINDOWS