diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-15 22:34:38 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-15 22:34:38 +0000 |
commit | 801eda9430588adbdc99e7d3ed0adf8cc5cbc49f (patch) | |
tree | 021e8cc09374b459abaac9b1f34ca8791edcf023 /plugins/NotifyAnything/src | |
parent | 588a9b2b5ee9d87d4a8b640b63a2544675d93ded (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@4060 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NotifyAnything/src')
-rw-r--r-- | plugins/NotifyAnything/src/main.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
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());
}
}
|