summaryrefslogtreecommitdiff
path: root/protocols/Xfire
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire')
-rw-r--r--protocols/Xfire/src/main.cpp16
-rw-r--r--protocols/Xfire/src/tools.cpp2
2 files changed, 9 insertions, 9 deletions
diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp
index a0b336ffd6..06c431353f 100644
--- a/protocols/Xfire/src/main.cpp
+++ b/protocols/Xfire/src/main.cpp
@@ -2537,13 +2537,13 @@ void gamedetectiont(LPVOID lparam)
if(disabledpopups)
if(db_get_b(NULL,protocolname,"nopopups",0))
{
- if(ServiceExists("PopUp/EnableDisableMenuCommand"))
+ if(ServiceExists("Popup/EnableDisableMenuCommand"))
{
- CallService("PopUp/EnableDisableMenuCommand",NULL,NULL);
+ CallService("Popup/EnableDisableMenuCommand",NULL,NULL);
}
- else if(ServiceExists("PopUp/ToggleEnabled"))
+ else if(ServiceExists("Popup/ToggleEnabled"))
{
- CallService("PopUp/ToggleEnabled",NULL,NULL);
+ CallService("Popup/ToggleEnabled",NULL,NULL);
}
disabledpopups=FALSE;
}
@@ -2677,15 +2677,15 @@ void gamedetectiont(LPVOID lparam)
//popup abschalten, menuservice funk aufrufen
if(db_get_b(NULL,protocolname,"nopopups",0))
{
- if(ServiceExists("PopUp/EnableDisableMenuCommand")&&db_get_b(NULL,"PopUp","ModuleIsEnabled",0)==1) /**/
+ if(ServiceExists("Popup/EnableDisableMenuCommand")&&db_get_b(NULL,"Popup","ModuleIsEnabled",0)==1) /**/
{
disabledpopups=TRUE;
- CallService("PopUp/EnableDisableMenuCommand",NULL,NULL);
+ CallService("Popup/EnableDisableMenuCommand",NULL,NULL);
}
- else if(ServiceExists("PopUp/ToggleEnabled")&&db_get_b(NULL,"YAPP","Enabled",0)==1)
+ else if(ServiceExists("Popup/ToggleEnabled")&&db_get_b(NULL,"YAPP","Enabled",0)==1)
{
disabledpopups=TRUE;
- CallService("PopUp/ToggleEnabled",NULL,NULL);
+ CallService("Popup/ToggleEnabled",NULL,NULL);
}
}
//sound abschalten
diff --git a/protocols/Xfire/src/tools.cpp b/protocols/Xfire/src/tools.cpp
index 9dff6e4d61..77f63ac661 100644
--- a/protocols/Xfire/src/tools.cpp
+++ b/protocols/Xfire/src/tools.cpp
@@ -119,7 +119,7 @@ int displayPopup(HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType,HICON hi
ppd.colorText = RGB(0,0,0);
}
- PUAddPopUp(&ppd);
+ PUAddPopup(&ppd);
}
return IDOK;