From 78c0815c4118fe24ab78cce2dc48a6232dcd824a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Jun 2012 20:55:18 +0000 Subject: - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YAMN/services.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/YAMN/services.cpp') diff --git a/plugins/YAMN/services.cpp b/plugins/YAMN/services.cpp index 975c6627e9..b0b524eddc 100644 --- a/plugins/YAMN/services.cpp +++ b/plugins/YAMN/services.cpp @@ -382,12 +382,12 @@ void HookEvents(void) //We set function which registers needed POP3 accounts. This is a part of internal POP3 plugin. //Your plugin should do the same task in your Load fcn. Why we call it in MODULESLOADED? Because netlib //user can be registered after all modules are loaded (see m_netlib.h in Miranda) - for (int i = 0;hookData[i].hookName;i++){ + for (int i = 0;hookData[i].hookName;i++) { hookData[i].hookHandle = HookEvent(hookData[i].hookName, hookData[i].mirandaFunction); } } void UnhookEvents(void){ - for (int i = 0;i<(sizeof(hookData)/sizeof(hookData[0]));i++){ + for (int i = 0;i<(sizeof(hookData)/sizeof(hookData[0]));i++) { if (hookData[i].hookHandle) UnhookEvent(hookData[i].hookHandle); } } @@ -480,14 +480,14 @@ static ServiceDataType serviceData[] = { void CreateServiceFunctions(void) { - for (int i = 0;serviceData[i].serviceName;i++){ + for (int i = 0;serviceData[i].serviceName;i++) { serviceData[i].serviceHandle = CreateServiceFunction(serviceData[i].serviceName, serviceData[i].serviceFunction); } }; void DestroyServiceFunctions(void) { - for (int i = 0;serviceData[i].serviceName;i++){ + for (int i = 0;serviceData[i].serviceName;i++) { if (serviceData[i].serviceHandle) DestroyServiceFunction(serviceData[i].serviceHandle); } }; -- cgit v1.2.3