diff options
Diffstat (limited to 'plugins/PluginUpdater/src/DlgUpdate.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/DlgUpdate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp index 3629ced550..e177fe13ec 100644 --- a/plugins/PluginUpdater/src/DlgUpdate.cpp +++ b/plugins/PluginUpdater/src/DlgUpdate.cpp @@ -67,7 +67,7 @@ class CUpdateDLg : public CDlgBase pDlg->m_list.SetItemText(i, 1, TranslateT("Downloading..."));
FILEURL *pFileUrl = &todo[i].File;
- if (!DownloadFile(pFileUrl, nlc)) {
+ if (DownloadFile(pFileUrl, nlc) != ERROR_SUCCESS) {
pDlg->m_list.SetItemText(i, 1, TranslateT("Failed!"));
// interrupt update as we require all components to be updated
@@ -413,7 +413,7 @@ static void DlgUpdateSilent(void *param) count++;
else if (it->bEnabled) {
// download update
- if (!DownloadFile(&it->File, nlc)) {
+ if (DownloadFile(&it->File, nlc) != ERROR_SUCCESS) {
// interrupt update as we require all components to be updated
Netlib_CloseHandle(nlc);
Skin_PlaySound("updatefailed");
|