Fix prepocessor condition in File.cpp again (patch problem).
Former-commit-id: c4fcc1265917ef17b78a7ed1a315c41dea6d0dc0
This commit is contained in:
@@ -515,7 +515,7 @@ NzString NzFile::AbsolutePath(const NzString& filePath)
|
|||||||
NazaraError("Path unrecognized");
|
NazaraError("Path unrecognized");
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
#elif defined(NAZARA_PLATEFORM_LINUX)
|
#elif defined(NAZARA_PLATFORM_LINUX)
|
||||||
base = '/';
|
base = '/';
|
||||||
start = 0;
|
start = 0;
|
||||||
#else
|
#else
|
||||||
@@ -664,7 +664,7 @@ bool NzFile::IsAbsolute(const NzString& filePath)
|
|||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
#elif defined(NAZARA_PLATEFORM_LINUX)
|
#elif defined(NAZARA_PLATFORM_LINUX)
|
||||||
return path.StartsWith('/');
|
return path.StartsWith('/');
|
||||||
#else
|
#else
|
||||||
#error OS case not implemented
|
#error OS case not implemented
|
||||||
|
|||||||
Reference in New Issue
Block a user