From 69409021aced78b31da0c9f2def7332a4c4b973e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 12 Sep 2017 12:14:57 +0300 Subject: Revert "Merge branch 'master' of https://github.com/miranda-ng/miranda-ng" This reverts commit e09448dd03e3647717166e92ee818e395041993a, reversing changes made to b0f44b16bd1138de85a5d17bb42151742f9c8298. --- plugins/Ping/src/ping.cpp | 4 ++-- plugins/Ping/src/pingthread.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Ping/src') diff --git a/plugins/Ping/src/ping.cpp b/plugins/Ping/src/ping.cpp index 7dd24e6a26..7688afb496 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(); - Skin_AddSound("PingTimeout", LPGENW("Ping"), LPGENW("Timeout")); - Skin_AddSound("PingReply", LPGENW("Ping"), LPGENW("Reply")); + SkinAddNewSoundEx("PingTimeout", LPGEN("Ping"), LPGEN("Timeout")); + SkinAddNewSoundEx("PingReply", LPGEN("Ping"), LPGEN("Reply")); HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded); diff --git a/plugins/Ping/src/pingthread.cpp b/plugins/Ping/src/pingthread.cpp index 06c5b8963e..c3d215329d 100644 --- a/plugins/Ping/src/pingthread.cpp +++ b/plugins/Ping/src/pingthread.cpp @@ -218,8 +218,8 @@ void __cdecl sttCheckStatusThreadProc(void*) } } - if (timeout) Skin_PlaySound("PingTimeout"); - if (reply) Skin_PlaySound("PingReply"); + if (timeout) SkinPlaySound("PingTimeout"); + if (reply) SkinPlaySound("PingReply"); if (!get_list_changed()) { upCount = count; -- cgit v1.2.3