core/systems/LibrarySys.cpp
changeset 2012 bd0a140e2bff
parent 2011 d0be3ddbba1e
child 2013 5cf82fea0177
     1.1 --- a/core/systems/LibrarySys.cpp	Thu Apr 17 09:19:36 2008 +0000
     1.2 +++ b/core/systems/LibrarySys.cpp	Thu Apr 17 09:23:18 2008 +0000
     1.3 @@ -366,7 +366,7 @@
     1.4  
     1.5  	for (i = end; i <= end; i--)
     1.6  	{
     1.7 -		if (filename[i] == '/')
     1.8 +		if (filename[i] == PLATFORM_SEP_CHAR || filename[i] == PLATFORM_SEP_ALTCHAR)
     1.9  		{
    1.10  			break;
    1.11  		}