Cosmetic changes.

This commit is contained in:
spx
2012-02-20 09:37:46 +00:00
parent 3c98527338
commit b0046d2968
7 changed files with 20 additions and 26 deletions

View File

@ -557,7 +557,7 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
break;
}
if (!(GetKeyState(VK_CONTROL) < 0) && // Ctrl is pressed, so only run default action
if (!IsCtrlKeyDown() && // Ctrl is pressed, so only run default action
!bang.empty())
{
Rainmeter->ExecuteCommand(bang.c_str(), NULL);