diff options
author | dartraiden <wowemuh@gmail.com> | 2017-09-26 17:37:08 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2017-09-26 17:37:08 +0300 |
commit | 3ae7272d02dda58006775f497a5e92a5d8edad29 (patch) | |
tree | 9440236e273ccd6d1b619c858a1d28ca7b0200de /plugins/AsSingleWindow | |
parent | 2d469bf7d00fd198097fee6a1f672ee7c8cc7a9a (diff) |
AsSingleWindow: remove useless condition (itr->hWnd != pluginVars.contactListHWND is checked before)
Diffstat (limited to 'plugins/AsSingleWindow')
-rw-r--r-- | plugins/AsSingleWindow/src/WindowsManager.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/AsSingleWindow/src/WindowsManager.cpp b/plugins/AsSingleWindow/src/WindowsManager.cpp index c741b416e7..e0cbec3c49 100644 --- a/plugins/AsSingleWindow/src/WindowsManager.cpp +++ b/plugins/AsSingleWindow/src/WindowsManager.cpp @@ -159,8 +159,6 @@ void windowListUpdate() while (itr != pluginVars.allWindows.end()) // Не удаляем КЛ в принципе, нет необходимости if (!IsWindow(itr->hWnd) && itr->hWnd != pluginVars.contactListHWND) { - if (itr->hWnd == pluginVars.contactListHWND) - pluginVars.contactListHWND = 0; itr = pluginVars.allWindows.erase(itr); isRemoved = true; } |