PIString hard optimization
This commit is contained in:
@@ -593,7 +593,7 @@ void PIFile::setDefaultCharset(const char * c) {
|
||||
PIFile::FileInfo PIFile::fileInfo(const PIString & path) {
|
||||
FileInfo ret;
|
||||
if (path.isEmpty()) return ret;
|
||||
ret.path = path.replaceAll("\\", PIDir::separator);
|
||||
ret.path = path.replacedAll("\\", PIDir::separator);
|
||||
PIString n = ret.name();
|
||||
//piCout << "open" << path;
|
||||
#ifdef WINDOWS
|
||||
|
||||
Reference in New Issue
Block a user