"David Quintana (gigaherz)" <[email protected]> wrote:

Issue was caused by VK_F4 having the same exact code as a lowercase 's'.
So the code, which treated WM_CHAR and WM_KEYDOWN as the same, executed
the wrong piece of code which was meant to be ONLY for WM_KEYDOWN.

Thanks for spotting this bug. Anyway the fix is not correct. Virtual key
codes should be tested only in the WM_KEYDOWN handler, WM_CHAR handler
should test for character codes. Also, as Nikolay asked please don't use
C++ comments in Wine code.

--
Dmitry.


Reply via email to