diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-07-30 16:43:12 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2014-07-30 16:43:12 +0000 |
commit | 9605b9e05204882e1c6ac62fcf29fffe457331aa (patch) | |
tree | 3c2579a40b1f8cae073965369dc6fae82a9655d1 /plugins/PluginUpdater/src/DlgUpdate.cpp | |
parent | 87b6a1ccf47c706cd3d8f5aecf72e894b9e53d25 (diff) |
Do not unzip icon from plugin's archive when icon component is unchecked
git-svn-id: http://svn.miranda-ng.org/main/trunk@9996 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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 3a9c6129bf..748d33890f 100644 --- a/plugins/PluginUpdater/src/DlgUpdate.cpp +++ b/plugins/PluginUpdater/src/DlgUpdate.cpp @@ -115,7 +115,7 @@ static void ApplyUpdates(void *param) BackupFile(tszSrcPath, tszBackFile);
}
- if ( unzip(p.File.tszDiskPath, tszMirandaPath, tszFileBack))
+ if ( unzip(p.File.tszDiskPath, tszMirandaPath, tszFileBack,true))
SafeDeleteFile(p.File.tszDiskPath); // remove .zip after successful update
}
}
@@ -425,7 +425,7 @@ static void DlgUpdateSilent(void *lParam) }
// remove .zip after successful update
- if (unzip(p.File.tszDiskPath, tszMirandaPath, tszFileBack))
+ if (unzip(p.File.tszDiskPath, tszMirandaPath, tszFileBack, true))
SafeDeleteFile(p.File.tszDiskPath);
}
}
|