NowPlaying.dll: Fixed incorrect display of types NUMBER and YEAR in tooltips

This commit is contained in:
Birunthan Mohanathas 2012-04-04 15:18:37 +03:00
parent 8f69bcbbea
commit 775d5c2a39

View File

@ -425,6 +425,14 @@ PLUGIN_EXPORT LPCWSTR GetString(void* data)
case MEASURE_REPEAT: case MEASURE_REPEAT:
_itow_s((int)player->GetRepeat(), buffer, 10); _itow_s((int)player->GetRepeat(), buffer, 10);
return buffer; return buffer;
case MEASURE_NUMBER:
_itow_s(player->GetNumber(), buffer, 10);
return buffer;
case MEASURE_YEAR:
_itow_s(player->GetYear(), buffer, 10);
return buffer;
} }
return NULL; return NULL;