ft_basename(): if compiled for MacOS, use the Mac path separator
diff --git a/demos/src/common.c b/demos/src/common.c
index 8a57405..fe59e9b 100644
--- a/demos/src/common.c
+++ b/demos/src/common.c
@@ -212,7 +212,11 @@
while ( c )
{
+#ifndef macintosh
if ( c == '/' || c == '\\' )
+#else
+ if ( c == ':' )
+#endif
base = current + 1;
current++;