Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 3458 → Rev 3459

/branches/Version13x/Scribus/scribus/scpaths.cpp
55,7 → 55,7
kCFURLPOSIXPathStyle);
const char *pathPtr = CFStringGetCStringPtr(macPath,
CFStringGetSystemEncoding());
char *p = pathPtr + strlen(pathPtr) -1;
char *p = const_cast<char*>(pathPtr + strlen(pathPtr) - 1);
while (*p == '/')
--p;
++p;