From 6535f828f903e767ccd4b4d4e0a77da971fd81a5 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sun, 25 Mar 2012 17:18:03 +0300 Subject: [PATCH] Minor change --- Plugins/PluginNowPlaying/PlayerCAD.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Plugins/PluginNowPlaying/PlayerCAD.cpp b/Plugins/PluginNowPlaying/PlayerCAD.cpp index a20eb999..aa4ac624 100644 --- a/Plugins/PluginNowPlaying/PlayerCAD.cpp +++ b/Plugins/PluginNowPlaying/PlayerCAD.cpp @@ -315,7 +315,14 @@ LRESULT CALLBACK CPlayerCAD::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM break; case 11: - player->m_CoverPath.assign(data, pos - data); + if (*data == L' ' && player->m_Measures & MEASURE_COVER) + { + player->FindCover(); + } + else + { + player->m_CoverPath.assign(data, pos - data); + } break; }