* The scroll_lock also counts as a modifier; this was obviously not present
in all Keymap variations. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36366 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
99265bcd8b
commit
697e17ffcd
@ -161,6 +161,7 @@ BKeymap::IsModifierKey(uint32 keyCode) const
|
||||
{
|
||||
return keyCode == fKeys.caps_key
|
||||
|| keyCode == fKeys.num_key
|
||||
|| keyCode == fKeys.scroll_key
|
||||
|| keyCode == fKeys.left_shift_key
|
||||
|| keyCode == fKeys.right_shift_key
|
||||
|| keyCode == fKeys.left_command_key
|
||||
@ -426,7 +427,7 @@ BKeymap&
|
||||
BKeymap::operator=(const BKeymap& other)
|
||||
{
|
||||
Unset();
|
||||
|
||||
|
||||
fChars = new char[fCharsSize];
|
||||
fCharsSize = other.fCharsSize;
|
||||
memcpy(fChars, other.fChars, fCharsSize);
|
||||
|
Loading…
Reference in New Issue
Block a user