summaryrefslogtreecommitdiff
path: root/plugins/YAPP/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAPP/src/services.cpp')
-rw-r--r--plugins/YAPP/src/services.cpp10
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;