ft_basename(): if compiled for MacOS, use the Mac path separator

This commit is contained in:
Just van Rossum 2000-03-02 01:09:28 +00:00
parent d35aea7090
commit 6f9a72d54e
1 changed files with 4 additions and 0 deletions

View File

@ -212,7 +212,11 @@
while ( c )
{
#ifndef macintosh
if ( c == '/' || c == '\\' )
#else
if ( c == ':' )
#endif
base = current + 1;
current++;