summaryrefslogtreecommitdiff
path: root/plugins/ListeningTo
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-11 13:42:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-11 13:42:34 +0300
commit9cedbf0ce4b072f910414b8ff33717f898840012 (patch)
tree5b906184241e76ce1d60715650211c5d270f7cee /plugins/ListeningTo
parent77498b8220001ec1cd34916f2038e88b4be2c32f (diff)
obsoleted helpers removed
Diffstat (limited to 'plugins/ListeningTo')
-rw-r--r--plugins/ListeningTo/src/listeningto.cpp2
-rw-r--r--plugins/ListeningTo/src/stdafx.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/ListeningTo/src/listeningto.cpp b/plugins/ListeningTo/src/listeningto.cpp
index b8b7f0f02b..4244c91c22 100644
--- a/plugins/ListeningTo/src/listeningto.cpp
+++ b/plugins/ListeningTo/src/listeningto.cpp
@@ -860,7 +860,7 @@ INT_PTR SetNewSong(WPARAM wParam, LPARAM lParam)
return -1;
if (lParam == LISTENINGTO_ANSI) {
- CharToWchar data((char *)wParam);
+ ptrW data(mir_a2u((char *)wParam));
((GenericPlayer *)players[GENERIC])->NewData(data, mir_wstrlen(data));
}
else {
diff --git a/plugins/ListeningTo/src/stdafx.h b/plugins/ListeningTo/src/stdafx.h
index 1c756963d6..a85b455ff7 100644
--- a/plugins/ListeningTo/src/stdafx.h
+++ b/plugins/ListeningTo/src/stdafx.h
@@ -57,7 +57,6 @@ struct CMPlugin : public PLUGIN<CMPlugin>
#include "../../utils/mir_options.h"
#include "../../utils/mir_buffer.h"
-#include "../../utils/utf8_helpers.h"
#include "music.h"
#include "resource.h"