mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 09:39:31 +02:00
LCL: reintroduced Char() typecast in WM_CHAR message handling on Windows. Hopefully fixes bug #20144.
git-svn-id: trunk@32173 -
This commit is contained in:
parent
fe76e1084a
commit
f73c6a5952
@ -1133,7 +1133,7 @@ begin
|
||||
Msg := CN_CHAR;
|
||||
KeyData := LParam;
|
||||
if UnicodeEnabledOS then
|
||||
CharCode := Word(WideChar(WParam))
|
||||
CharCode := Word(Char(WideChar(WParam)))
|
||||
else
|
||||
CharCode := Word(WParam);
|
||||
OrgCharCode := CharCode;
|
||||
|
Loading…
Reference in New Issue
Block a user