core/LibrarySys.cpp
changeset 3261 e4359292e59a
parent 3027 0f90dd9754ca
     1.1 --- a/core/LibrarySys.cpp	Sun Apr 17 16:12:45 2011 -0400
     1.2 +++ b/core/LibrarySys.cpp	Sat Apr 23 21:53:53 2011 -0500
     1.3 @@ -410,7 +410,7 @@
     1.4  	size_t length = strlen(path);
     1.5  
     1.6  	for (size_t i = length - 1;
     1.7 -		 i >= 0 && i <= length - 1;
     1.8 +		 i <= length - 1;
     1.9  		 i--)
    1.10  	{
    1.11  		if (path[i] == '/'