summaryrefslogtreecommitdiff
path: root/plugins/Ping/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2017-09-11 23:49:15 +0300
committerKirill Volinsky <mataes2007@gmail.com>2017-09-11 23:49:15 +0300
commite09448dd03e3647717166e92ee818e395041993a (patch)
tree2733f155bb5fd9313ea08255209da75f738bcedf /plugins/Ping/src
parentb0f44b16bd1138de85a5d17bb42151742f9c8298 (diff)
parent9834746e6a7e5cf04a32273155265bc3a2f57180 (diff)
Merge branch 'master' of https://github.com/miranda-ng/miranda-ng
Diffstat (limited to 'plugins/Ping/src')
-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;