summaryrefslogtreecommitdiff
path: root/plugins/ListeningTo
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ListeningTo')
-rw-r--r--plugins/ListeningTo/src/listeningto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ListeningTo/src/listeningto.cpp b/plugins/ListeningTo/src/listeningto.cpp
index 6b1c50d224..75686cbd18 100644
--- a/plugins/ListeningTo/src/listeningto.cpp
+++ b/plugins/ListeningTo/src/listeningto.cpp
@@ -969,11 +969,11 @@ INT_PTR SetNewSong(WPARAM wParam,LPARAM lParam)
if (lParam == LISTENINGTO_ANSI) {
CharToWchar data((char *) wParam);
- ((GenericPlayer *) players[GENERIC])->NewData(data, wcslen(data));
+ ((GenericPlayer *) players[GENERIC])->NewData(data, mir_wstrlen(data));
}
else {
WCHAR *data = (WCHAR *) wParam;
- ((GenericPlayer *) players[GENERIC])->NewData(data, wcslen(data));
+ ((GenericPlayer *) players[GENERIC])->NewData(data, mir_wstrlen(data));
}
return 0;