diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-15 18:16:00 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-15 18:16:00 +0000 |
commit | 58e70fe13318f7b555770a8786dc81fc28017f91 (patch) | |
tree | 0321d6e30398d6515c915ee94bfc95f4c4e2f8de /protocols/Gadu-Gadu/sessions.cpp | |
parent | b43dcf000f703e3ef421350f74208cf4c7cdea77 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@980 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/sessions.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/sessions.cpp | 6 |
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;
}
|