mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
Fix return type of CStorage::RemoveFile
This commit is contained in:
parent
da2fe3cbbc
commit
8b782285ab
|
@ -413,7 +413,7 @@ public:
|
||||||
char aBuffer[MAX_PATH_LENGTH];
|
char aBuffer[MAX_PATH_LENGTH];
|
||||||
GetPath(Type, pFilename, aBuffer, sizeof(aBuffer));
|
GetPath(Type, pFilename, aBuffer, sizeof(aBuffer));
|
||||||
|
|
||||||
bool success = fs_remove(aBuffer);
|
bool success = !fs_remove(aBuffer);
|
||||||
if(!success)
|
if(!success)
|
||||||
dbg_msg("storage", "failed to remove: %s", aBuffer);
|
dbg_msg("storage", "failed to remove: %s", aBuffer);
|
||||||
return success;
|
return success;
|
||||||
|
|
Loading…
Reference in a new issue