mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
NowPlaying: Fix C4819 warning
This commit is contained in:
parent
29ae70a041
commit
17500a2dbd
@ -91,7 +91,7 @@ void CPlayerSpotify::UpdateData()
|
|||||||
{
|
{
|
||||||
std::wstring title = &buffer[10]; // Skip "Spotify - "
|
std::wstring title = &buffer[10]; // Skip "Spotify - "
|
||||||
|
|
||||||
std::wstring::size_type pos = title.find(L" – ");
|
std::wstring::size_type pos = title.find(L" \u2013 ");
|
||||||
if (pos != std::wstring::npos)
|
if (pos != std::wstring::npos)
|
||||||
{
|
{
|
||||||
std::wstring artist(title, 0, pos);
|
std::wstring artist(title, 0, pos);
|
||||||
|
Loading…
Reference in New Issue
Block a user