mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:59:31 +02:00
ideintf: return more correct key string by KeyAndShiftStateToKeyString
git-svn-id: trunk@19815 -
This commit is contained in:
parent
3e5a744e2d
commit
61a7fb8388
@ -6463,8 +6463,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
function KeyAndShiftStateToKeyString(Key: word; ShiftState: TShiftState
|
||||
): String;
|
||||
function KeyAndShiftStateToKeyString(Key: word; ShiftState: TShiftState): String;
|
||||
var
|
||||
p: integer;
|
||||
|
||||
@ -6503,7 +6502,8 @@ var
|
||||
//
|
||||
procedure AddKey;
|
||||
begin
|
||||
if p>0 then AddStr(' ');
|
||||
if p > 0 then
|
||||
AddStr('+');
|
||||
|
||||
case Key of
|
||||
VK_UNKNOWN :AddStr(srVK_UNKNOWN);
|
||||
|
Loading…
Reference in New Issue
Block a user