summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-11-02 08:16:58 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-11-02 08:16:58 +0000
commitab0bff0cb5f7d649af45d390bff57eaad77612f0 (patch)
treed1e1fac5d1679c19abdf3dea107f338d19c26224 /plugins/PluginUpdater/src
parenteaae1f3a6e2d8a27d03b2a6090e89f060333e283 (diff)
PluginUpdater: items marked for deletion reported as "Will be deleted"
Langpack_russian: PluginUpdater.txt +1 line git-svn-id: http://svn.miranda-ng.org/main/trunk@2146 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src')
-rw-r--r--plugins/PluginUpdater/src/Notifications.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp
index e3cb3d6fb8..364f2f0af7 100644
--- a/plugins/PluginUpdater/src/Notifications.cpp
+++ b/plugins/PluginUpdater/src/Notifications.cpp
@@ -240,8 +240,12 @@ static void ApplyUpdates(void *param)
for (int i=0; i < todo.getCount(); ++i) {
ListView_EnsureVisible(hwndList, i, FALSE);
- if ( !todo[i].enabled || todo[i].bDeleteOnly) {
- SetStringText(hwndList, i, TranslateT("Skipped"));
+ if ( !todo[i].enabled ) {
+ SetStringText(hwndList, i, TranslateT("Skipped."));
+ continue;
+ }
+ if ( todo[i].bDeleteOnly) {
+ SetStringText(hwndList, i, TranslateT("Will be deleted!"));
continue;
}