From 775d5c2a39565482762593bf567db55e8beb11cb Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Wed, 4 Apr 2012 15:18:37 +0300 Subject: [PATCH] NowPlaying.dll: Fixed incorrect display of types NUMBER and YEAR in tooltips --- Plugins/PluginNowPlaying/NowPlaying.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Plugins/PluginNowPlaying/NowPlaying.cpp b/Plugins/PluginNowPlaying/NowPlaying.cpp index b6ef8878..02bdaa8a 100644 --- a/Plugins/PluginNowPlaying/NowPlaying.cpp +++ b/Plugins/PluginNowPlaying/NowPlaying.cpp @@ -425,6 +425,14 @@ PLUGIN_EXPORT LPCWSTR GetString(void* data) case MEASURE_REPEAT: _itow_s((int)player->GetRepeat(), buffer, 10); 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;