From 8503aa4ab16e26af462917ee72d0902338dec7f1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Mar 2014 21:25:13 +0000 Subject: minor code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@8803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YAPP/src/services.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/YAPP/src/services.cpp b/plugins/YAPP/src/services.cpp index 128e2ef84d..d612714f10 100644 --- a/plugins/YAPP/src/services.cpp +++ b/plugins/YAPP/src/services.cpp @@ -384,21 +384,21 @@ static INT_PTR CreateClassPopup(WPARAM wParam, LPARAM lParam) if (pdc->cbSize < sizeof(POPUPDATACLASS)) return 1; POPUPCLASS *pc = 0; - if (wParam) + if (wParam) pc = (POPUPCLASS *)wParam; else { for (int i = 0; i < arClasses.getCount(); i++) { - if ( strcmp(arClasses[i]->pszName, pdc->pszClassName) == 0) { + if (strcmp(arClasses[i]->pszName, pdc->pszClassName) == 0) { pc = arClasses[i]; break; } } } if (pc) { - if ( NotifyEventHooks(hEventNotify, (WPARAM)pdc->hContact, (LPARAM)pc->PluginWindowProc)) + if (NotifyEventHooks(hEventNotify, (WPARAM)pdc->hContact, (LPARAM)pc->PluginWindowProc)) return 0; - PopupData pd = {sizeof(PopupData)}; + PopupData pd = { sizeof(PopupData) }; if (pc->flags & PCF_UNICODE) pd.flags |= PDF_UNICODE; pd.colorBack = pc->colorBack; pd.colorText = pc->colorText; @@ -410,7 +410,7 @@ static INT_PTR CreateClassPopup(WPARAM wParam, LPARAM lParam) pd.opaque = pdc->PluginData; pd.pszTitle = (char *)pdc->pszTitle; pd.pszText = (char *)pdc->pszText; - + ShowPopup(pd); } return 0; -- cgit v1.2.3