summaryrefslogtreecommitdiff
path: root/protocols/SkypeClassic/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-15 15:47:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-15 15:47:29 +0000
commita697754351436b6d0066b77b0fd71aeb8c45be3d (patch)
treec2821a76e17eb003fe14b82b91ccb8b88dbe3adc /protocols/SkypeClassic/src
parent2e3b0d5d40f1113887bd67e6ba227b780c4293cd (diff)
after commit #12797 field OPTIONSDIALOGPAGE::cbSize became an atavism, and therefore removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@12840 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeClassic/src')
-rw-r--r--protocols/SkypeClassic/src/skypeopt.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/protocols/SkypeClassic/src/skypeopt.cpp b/protocols/SkypeClassic/src/skypeopt.cpp
index de3dc10367..7d7acc1e96 100644
--- a/protocols/SkypeClassic/src/skypeopt.cpp
+++ b/protocols/SkypeClassic/src/skypeopt.cpp
@@ -47,11 +47,9 @@ static HBITMAP hAvatar = NULL;
extern BOOL PopupServiceExists;
extern BOOL (WINAPI *MyEnableThemeDialogTexture)(HANDLE, DWORD);
-int RegisterOptions(WPARAM wParam, LPARAM) {
- OPTIONSDIALOGPAGE odp;
-
- memset(&odp, 0, sizeof(odp));
- odp.cbSize = sizeof(odp);
+int RegisterOptions(WPARAM wParam, LPARAM)
+{
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.hInstance = hInst;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS);
odp.pszGroup = "Network";
@@ -732,10 +730,9 @@ INT_PTR CALLBACK OptionsDefaultDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, L
int OnDetailsInit( WPARAM wParam, LPARAM lParam )
{
- OPTIONSDIALOGPAGE odp = {0};
MCONTACT hContact = (MCONTACT)lParam;
- odp.cbSize = sizeof(odp);
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.hIcon = NULL;
odp.hInstance = hInst;