summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/sessions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/sessions.cpp')
-rw-r--r--protocols/Gadu-Gadu/sessions.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/Gadu-Gadu/sessions.cpp b/protocols/Gadu-Gadu/sessions.cpp
index 1f8572258a..4f83780f71 100644
--- a/protocols/Gadu-Gadu/sessions.cpp
+++ b/protocols/Gadu-Gadu/sessions.cpp
@@ -401,14 +401,12 @@ static INT_PTR CALLBACK gg_sessions_viewdlg(HWND hwndDlg, UINT message, WPARAM w
INT_PTR GGPROTO::sessions_view(WPARAM wParam, LPARAM lParam)
{
- if (hwndSessionsDlg && IsWindow(hwndSessionsDlg))
- {
+ if (hwndSessionsDlg && IsWindow(hwndSessionsDlg)) {
ShowWindow(hwndSessionsDlg, SW_SHOWNORMAL);
SetForegroundWindow(hwndSessionsDlg);
SetFocus(hwndSessionsDlg);
}
- else
- CreateDialogParam(hInstance, MAKEINTRESOURCE(IDD_SESSIONS), NULL, gg_sessions_viewdlg, (LPARAM)this);
+ else CreateDialogParam(hInstance, MAKEINTRESOURCE(IDD_SESSIONS), NULL, gg_sessions_viewdlg, (LPARAM)this);
return 0;
}