diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-04 23:26:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-04 23:26:08 +0000 |
commit | 59e4f9335276f10bfa6dd9874bff457405e079ed (patch) | |
tree | b6ff25a5fc4eacb33b5c2bfcfda581f209a4e561 /plugins/TopToolBar/src/toolbar.cpp | |
parent | 1c0f4afc353a295e01af1584432d3d588d5721dc (diff) |
more clear exit from TTB
git-svn-id: http://svn.miranda-ng.org/main/trunk@2204 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/src/toolbar.cpp')
-rw-r--r-- | plugins/TopToolBar/src/toolbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TopToolBar/src/toolbar.cpp b/plugins/TopToolBar/src/toolbar.cpp index 24d8076b7f..1167763997 100644 --- a/plugins/TopToolBar/src/toolbar.cpp +++ b/plugins/TopToolBar/src/toolbar.cpp @@ -622,7 +622,7 @@ static int OnShutdown(WPARAM wParam, LPARAM lParam) CallService(MS_CLIST_FRAMES_REMOVEFRAME, (WPARAM)g_ctrl->hFrame, 0);
g_ctrl->hFrame = 0;
}
- else if (g_ctrl->hWnd) {
+ if (g_ctrl->hWnd) {
DestroyWindow(g_ctrl->hWnd);
g_ctrl->hWnd = NULL;
}
|