From 6cf18be1f2a73e501cf855de4db7dd57a52581d5 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 16 Nov 2010 08:49:24 +0200 Subject: checking for core version and jabber api --- init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.cpp') diff --git a/init.cpp b/init.cpp index cd4342d..3afca12 100644 --- a/init.cpp +++ b/init.cpp @@ -160,6 +160,7 @@ static int OnModulesLoaded(WPARAM wParam,LPARAM lParam) void InitCheck(); void FirstRun(); + bIsMiranda09 = (DWORD)CallService(MS_SYSTEM_GETVERSION, 0, 0) >= 0x00090001?true:false; FirstRun(); InitCheck(); InitIconLib(); @@ -185,7 +186,6 @@ static int OnModulesLoaded(WPARAM wParam,LPARAM lParam) } - bIsMiranda09 = (DWORD)CallService(MS_SYSTEM_GETVERSION, 0, 0) >= 0x00090001?true:false; bMetaContacts = ServiceExists(MS_MC_GETMETACONTACT); if(bJabberAPI && bIsMiranda09) -- cgit v1.2.3