diff options
-rwxr-xr-x | plugins/Watrack_MPD/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Watrack_MPD/src/main.cpp b/plugins/Watrack_MPD/src/main.cpp index 13ca0b6396..2e0941a51f 100755 --- a/plugins/Watrack_MPD/src/main.cpp +++ b/plugins/Watrack_MPD/src/main.cpp @@ -177,7 +177,7 @@ int Parser() SongInfo.artist = (TCHAR*)mir_utf8decodeW(tmp); } else - SongInfo.artist = _T("Unknown artist"); + SongInfo.artist = mir_tstrdup(_T("Unknown artist")); if(ptr = strstr(buf, "Genre:")) { ptr = &ptr[7]; |