From 0c99b116f722a4609c29a4fbda986cd1e2c6790a Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sat, 17 Jul 2010 23:34:51 +0300 Subject: modified: commonheaders.h modified: init.cpp new file: m_msg_buttonsbar.h modified: ui.cpp --- init.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'init.cpp') diff --git a/init.cpp b/init.cpp index 8e1ed91..ea225f3 100644 --- a/init.cpp +++ b/init.cpp @@ -23,11 +23,10 @@ PLUGINLINK *pluginLink; static int OnModulesLoaded(WPARAM wParam,LPARAM lParam); extern char *date(); list Accounts; -XML_API xi; -NETLIBUSER nu; - -struct MM_INTERFACE mmi; -struct UTF8_INTERFACE utfi; +XML_API xi = {0}; +NETLIBUSER nu = {0}; +MM_INTERFACE mmi = {0}; +UTF8_INTERFACE utfi = {0}; @@ -94,6 +93,7 @@ extern int GetJabberInterface(WPARAM, LPARAM); extern int HandleDbNewContact(WPARAM w, LPARAM l); extern int HandleDbContactDeleted(WPARAM w, LPARAM l); extern void FindJuickAccounts(); +extern int CreateButtons(); static int OnModulesLoaded(WPARAM wParam,LPARAM lParam) { GetJabberInterface(0,0); @@ -102,6 +102,7 @@ static int OnModulesLoaded(WPARAM wParam,LPARAM lParam) hDbContactAdded = HookEvent(ME_DB_CONTACT_ADDED, HandleDbNewContact); hDbContactAdded = HookEvent(ME_DB_CONTACT_DELETED, HandleDbContactDeleted); FindJuickAccounts(); + CreateButtons(); return 0; } -- cgit v1.2.3