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 )
|
while ( c )
|
||||||
{
|
{
|
||||||
|
#ifndef macintosh
|
||||||
if ( c == '/' || c == '\\' )
|
if ( c == '/' || c == '\\' )
|
||||||
|
#else
|
||||||
|
if ( c == ':' )
|
||||||
|
#endif
|
||||||
base = current + 1;
|
base = current + 1;
|
||||||
|
|
||||||
current++;
|
current++;
|
||||||
|
|
Loading…
Reference in New Issue