diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_frame.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_frame.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_frame.cpp b/protocols/JabberG/src/jabber_frame.cpp index af24b2bbbb..f5e4b2aadc 100644 --- a/protocols/JabberG/src/jabber_frame.cpp +++ b/protocols/JabberG/src/jabber_frame.cpp @@ -89,8 +89,7 @@ CJabberInfoFrame::CJabberInfoFrame(CJabberProto *proto): if ( !proto->m_options.DisableFrame && ServiceExists(MS_CLIST_FRAMES_ADDFRAME)) {
InitClass();
- CLISTFrame frame = {0};
- frame.cbSize = sizeof(frame);
+ CLISTFrame frame = { sizeof(frame) };
HWND hwndClist = (HWND)CallService(MS_CLUI_GETHWND, 0, 0);
frame.hWnd = CreateWindowEx(0, _T("JabberInfoFrameClass"), NULL, WS_CHILD|WS_VISIBLE, 0, 0, 100, 100, hwndClist, NULL, hInst, this);
frame.align = alBottom;
|