diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-30 21:25:13 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-30 21:25:13 +0000 |
commit | 8503aa4ab16e26af462917ee72d0902338dec7f1 (patch) | |
tree | 9fa1a50897c89e24fffaa1a229f0dd45365d9aea /plugins/YAPP/src/services.cpp | |
parent | a7ebdbabac4c0d17ea3a7999b9f5f12faaa149a1 (diff) |
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@8803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/src/services.cpp')
-rw-r--r-- | plugins/YAPP/src/services.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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;
|