ref: 6f9a72d54e040bcc57c2b4928cbc722e8b779cf7
parent: d35aea7090c3a824a3a65a4a912d805b9c9252f5
author: Just van Rossum <[email protected]>
date: Wed Mar 1 20:09:28 EST 2000
ft_basename(): if compiled for MacOS, use the Mac path separator
--- 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++;