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

This commit is contained in:
tomasz.sowa committed 2021-05-21 17:41:16 +02:00
1 parent f1b9d1b870
commit 86ef2529b1
5 files changed
+5 -5

No files matched your search

+1 -1
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);
}