diff options
Diffstat (limited to 'src/core/stdauth/src/auth.cpp')
-rw-r--r-- | src/core/stdauth/src/auth.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/stdauth/src/auth.cpp b/src/core/stdauth/src/auth.cpp index 7b5b3ae59b..e7074b4dbb 100644 --- a/src/core/stdauth/src/auth.cpp +++ b/src/core/stdauth/src/auth.cpp @@ -68,7 +68,7 @@ static int AuthEventAdded(WPARAM, LPARAM lParam) ptrW szUid(Contact_GetInfo(CNF_UNIQUEID, hContact));
if (dbei.eventType == EVENTTYPE_AUTHREQUEST) {
- Skin_PlaySound("AuthRequest");
+ SkinPlaySound("AuthRequest");
if (szUid)
mir_snwprintf(szTooltip, TranslateT("%s requests authorization"), szUid);
else
@@ -79,7 +79,7 @@ static int AuthEventAdded(WPARAM, LPARAM lParam) pcli->pfnAddEvent(&cli);
}
else if (dbei.eventType == EVENTTYPE_ADDED) {
- Skin_PlaySound("AddedEvent");
+ SkinPlaySound("AddedEvent");
if (szUid)
mir_snwprintf(szTooltip, TranslateT("%s added you to their contact list"), szUid);
else
@@ -98,7 +98,7 @@ int LoadSendRecvAuthModule(void) CreateServiceFunction(MS_AUTH_SHOWADDED, ShowAddedWindow);
HookEvent(ME_DB_EVENT_ADDED, AuthEventAdded);
- Skin_AddSound("AuthRequest", LPGENW("Alerts"), LPGENW("Authorization request"));
- Skin_AddSound("AddedEvent", LPGENW("Alerts"), LPGENW("Added event"));
+ SkinAddNewSoundEx("AuthRequest", LPGEN("Alerts"), LPGEN("Authorization request"));
+ SkinAddNewSoundEx("AddedEvent", LPGEN("Alerts"), LPGEN("Added event"));
return 0;
}
|