fixed in some places: system->AddFile() returns bool now instead of Error

This commit is contained in:
2021-05-21 17:41:16 +02:00
parent f1b9d1b870
commit 86ef2529b1
5 changed files with 5 additions and 5 deletions

View File

@@ -1515,7 +1515,7 @@ bool System::AddCommonFileToVar(const wchar_t * file_path, const wchar_t * url,
file_content_item.item_content.content_raw = file_content;
file_content_item.item_content.content_raw_type = ItemContent::ct_other;
return AddFile(file_content_item, false) == WINIX_ERR_OK;
return AddFile(file_content_item, false);
}