Minor change

This commit is contained in:
Birunthan Mohanathas 2012-03-25 17:18:03 +03:00
parent fb5a425eb8
commit 6535f828f9

View File

@ -315,7 +315,14 @@ LRESULT CALLBACK CPlayerCAD::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
break; break;
case 11: 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; break;
} }