diff options
Diffstat (limited to 'protocols/VKontakte/src/main.cpp')
-rw-r--r-- | protocols/VKontakte/src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/main.cpp b/protocols/VKontakte/src/main.cpp index 460d2ec5b9..9a690049e0 100644 --- a/protocols/VKontakte/src/main.cpp +++ b/protocols/VKontakte/src/main.cpp @@ -83,7 +83,8 @@ extern "C" int __declspec(dllexport) Load() InitIcons();
// Register protocol module
- PROTOCOLDESCRIPTOR pd = { sizeof(pd) };
+ PROTOCOLDESCRIPTOR pd = { 0 };
+ pd.cbSize = sizeof(pd);
pd.szName = "VKontakte";
pd.fnInit = (pfnInitProto)vkProtoInit;
pd.fnUninit = (pfnUninitProto)vkProtoUninit;
|