@@ -244,7 +244,7 @@ bool AndroidFileSystem::FileExists(const StringView& path)
|
||||
bool AndroidFileSystem::DeleteFile(const StringView& path)
|
||||
{
|
||||
const StringAsANSI<> pathANSI(*path, path.Length());
|
||||
return unlink(pathANSI.Get()) == 0;
|
||||
return unlink(pathANSI.Get()) != 0;
|
||||
}
|
||||
|
||||
uint64 AndroidFileSystem::GetFileSize(const StringView& path)
|
||||
|
||||
@@ -218,7 +218,7 @@ bool AppleFileSystem::FileExists(const StringView& path)
|
||||
bool AppleFileSystem::DeleteFile(const StringView& path)
|
||||
{
|
||||
const StringAsANSI<> pathANSI(*path, path.Length());
|
||||
return unlink(pathANSI.Get()) == 0;
|
||||
return unlink(pathANSI.Get()) != 0;
|
||||
}
|
||||
|
||||
uint64 AppleFileSystem::GetFileSize(const StringView& path)
|
||||
|
||||
@@ -364,7 +364,7 @@ bool LinuxFileSystem::FileExists(const StringView& path)
|
||||
bool LinuxFileSystem::DeleteFile(const StringView& path)
|
||||
{
|
||||
const StringAsANSI<> pathANSI(*path, path.Length());
|
||||
return unlink(pathANSI.Get()) == 0;
|
||||
return unlink(pathANSI.Get()) != 0;
|
||||
}
|
||||
|
||||
uint64 LinuxFileSystem::GetFileSize(const StringView& path)
|
||||
|
||||
Reference in New Issue
Block a user