#4288 Fixed if assignment instead of equals

This commit is contained in:
Jamie Newbon 2020-01-11 01:33:03 +00:00
parent 23a7e5c05f
commit 4f2e0b6cdb

View file

@ -1248,7 +1248,7 @@ MSWindowsKeyState::fakeKey(const Keystroke& keystroke)
WORD vk = (WORD)keystroke.m_data.m_button.m_client;
DWORD flags = 0;
if (keystroke.m_data.m_button.m_press = false)
if (keystroke.m_data.m_button.m_press == false)
flags |= KEYEVENTF_KEYUP;
// special handling of VK_SNAPSHOT