diff options
author | George Hazan <ghazan@miranda.im> | 2017-09-12 12:14:57 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-09-12 12:14:57 +0300 |
commit | 69409021aced78b31da0c9f2def7332a4c4b973e (patch) | |
tree | 3d9a6607f042acb8d44ece5f3fb08a4125a94e45 /plugins/Ping | |
parent | e09448dd03e3647717166e92ee818e395041993a (diff) |
Revert "Merge branch 'master' of https://github.com/miranda-ng/miranda-ng"
This reverts commit e09448dd03e3647717166e92ee818e395041993a, reversing
changes made to b0f44b16bd1138de85a5d17bb42151742f9c8298.
Diffstat (limited to 'plugins/Ping')
-rw-r--r-- | plugins/Ping/src/ping.cpp | 4 | ||||
-rw-r--r-- | plugins/Ping/src/pingthread.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
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;
|