ft_basename(): if compiled for MacOS, use the Mac path separator
This commit is contained in:
parent
d35aea7090
commit
6f9a72d54e
|
@ -212,7 +212,11 @@
|
|||
|
||||
while ( c )
|
||||
{
|
||||
#ifndef macintosh
|
||||
if ( c == '/' || c == '\\' )
|
||||
#else
|
||||
if ( c == ':' )
|
||||
#endif
|
||||
base = current + 1;
|
||||
|
||||
current++;
|
||||
|
|
Loading…
Reference in New Issue