summaryrefslogtreecommitdiff
path: root/plugins/Ping
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Ping')
-rw-r--r--plugins/Ping/src/ping.cpp4
-rw-r--r--plugins/Ping/src/pingthread.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Ping/src/ping.cpp b/plugins/Ping/src/ping.cpp
index 7688afb496..7dd24e6a26 100644
--- a/plugins/Ping/src/ping.cpp
+++ b/plugins/Ping/src/ping.cpp
@@ -138,8 +138,8 @@ extern "C" __declspec(dllexport) int Load(void)
LoadOptions();
- SkinAddNewSoundEx("PingTimeout", LPGEN("Ping"), LPGEN("Timeout"));
- SkinAddNewSoundEx("PingReply", LPGEN("Ping"), LPGEN("Reply"));
+ Skin_AddSound("PingTimeout", LPGENW("Ping"), LPGENW("Timeout"));
+ Skin_AddSound("PingReply", LPGENW("Ping"), LPGENW("Reply"));
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
diff --git a/plugins/Ping/src/pingthread.cpp b/plugins/Ping/src/pingthread.cpp
index c3d215329d..06c5b8963e 100644
--- a/plugins/Ping/src/pingthread.cpp
+++ b/plugins/Ping/src/pingthread.cpp
@@ -218,8 +218,8 @@ void __cdecl sttCheckStatusThreadProc(void*)
}
}
- if (timeout) SkinPlaySound("PingTimeout");
- if (reply) SkinPlaySound("PingReply");
+ if (timeout) Skin_PlaySound("PingTimeout");
+ if (reply) Skin_PlaySound("PingReply");
if (!get_list_changed()) {
upCount = count;