Oops. Fixed ILibrarySys::GetFileExtension() to work properly on Windows again.
(Had accidentally copied revised version from my Linux-only propcheck program) --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402075
This commit is contained in:
parent
1e1f0de4ec
commit
c4c8948d95
@ -366,7 +366,7 @@ const char *LibrarySystem::GetFileExtension(const char *filename)
|
||||
|
||||
for (i = end; i <= end; i--)
|
||||
{
|
||||
if (filename[i] == '/')
|
||||
if (filename[i] == PLATFORM_SEP_CHAR || filename[i] == PLATFORM_SEP_ALTCHAR)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user