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