summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-26 18:21:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-26 18:21:33 +0000
commit944753ba4f0e2b924215fab81e72abb933942df3 (patch)
treeae6c3eddfa7f296516543394399741f275c2457e /protocols/Xfire/src/main.cpp
parent1c415d23b2150c14787969fafe98c01942bd7b76 (diff)
rrrrrrrr
git-svn-id: http://svn.miranda-ng.org/main/trunk@2508 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/main.cpp')
-rw-r--r--protocols/Xfire/src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp
index 5219183de2..c1cb8b7f61 100644
--- a/protocols/Xfire/src/main.cpp
+++ b/protocols/Xfire/src/main.cpp
@@ -1125,8 +1125,7 @@ extern "C" __declspec(dllexport) int Load(void)
HookEvent(ME_OPT_INITIALISE, OptInit);
HookEvent(ME_SYSTEM_MODULESLOADED, OnSystemModulesLoaded);
- PROTOCOLDESCRIPTOR pd = {0};
- pd.cbSize = PROTOCOLDESCRIPTOR_V3_SIZE;
+ PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE };
pd.szName = protocolname;
pd.type = PROTOTYPE_PROTOCOL;
CallService(MS_PROTO_REGISTERMODULE,0,(LPARAM)&pd);