diff options
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;
}
|