mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
NowPlaying: Fixed crash with CAD interface in some cases
This commit is contained in:
parent
132e93c857
commit
fe1dc9434f
@ -383,7 +383,7 @@ LRESULT CALLBACK CPlayerCAD::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
|
|||||||
|
|
||||||
if (player->m_Open)
|
if (player->m_Open)
|
||||||
{
|
{
|
||||||
if (wcscmp(windowSz, L"foobar2000") == 0)
|
if (windowSz && wcscmp(windowSz, L"foobar2000") == 0)
|
||||||
{
|
{
|
||||||
// Activate foobar2000 in case it starts minimized
|
// Activate foobar2000 in case it starts minimized
|
||||||
SendMessage(player->m_PlayerWindow, WM_USER, 0, IPC_SHOW_WINDOW);
|
SendMessage(player->m_PlayerWindow, WM_USER, 0, IPC_SHOW_WINDOW);
|
||||||
|
Loading…
Reference in New Issue
Block a user