From 801eda9430588adbdc99e7d3ed0adf8cc5cbc49f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 15 Mar 2013 22:34:38 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@4060 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NotifyAnything/src/main.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'plugins/NotifyAnything/src/main.cpp') diff --git a/plugins/NotifyAnything/src/main.cpp b/plugins/NotifyAnything/src/main.cpp index af677b4ce4..0c4f466ead 100644 --- a/plugins/NotifyAnything/src/main.cpp +++ b/plugins/NotifyAnything/src/main.cpp @@ -583,7 +583,7 @@ void replaceMessage(const popup_t &msg) LeaveCS(&g_popups_cs); - PUChangeText(i->second->hwnd, strip(i->second->message).c_str()); + PUChangeTextT(i->second->hwnd, _A2T(strip(i->second->message).c_str())); return; } } @@ -849,15 +849,11 @@ void processMessage(std::string buf) showMessage(msg); - if (g_settings.sound == g_settings.always - || g_settings.sound == g_settings.request - && msg.beep) - { + if (g_settings.sound == g_settings.always || g_settings.sound == g_settings.request && msg.beep) { if (g_settings.use_pcspeaker) Beep(650, 50); else { - std::string sname = "NotifyAnything_" - + msg.sound; + std::string sname = "NotifyAnything_" + msg.sound; SkinPlaySound(sname.c_str()); } } -- cgit v1.2.3