mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 20:19:16 +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;
|
Msg := CN_CHAR;
|
||||||
KeyData := LParam;
|
KeyData := LParam;
|
||||||
if UnicodeEnabledOS then
|
if UnicodeEnabledOS then
|
||||||
CharCode := Word(WideChar(WParam))
|
CharCode := Word(Char(WideChar(WParam)))
|
||||||
else
|
else
|
||||||
CharCode := Word(WParam);
|
CharCode := Word(WParam);
|
||||||
OrgCharCode := CharCode;
|
OrgCharCode := CharCode;
|
||||||
|
Loading…
Reference in New Issue
Block a user