mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Correct off-by-one error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18098 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
72938ea456
commit
6d61d85e11
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-11-19 Benhur Stein <benhur@inf.ufsm.br>
|
||||
|
||||
* Source/x11/XGServerEvent.m ([XGServer -processEvent:event]): Correct
|
||||
off-by-one error.
|
||||
|
||||
2003-11-19 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/x11/XGServer.m: Add some docs.
|
||||
|
|
|
@ -975,7 +975,7 @@ static inline int check_modifier (XEvent *xEvent, KeyCode key_code)
|
|||
_command_pressed |= 1;
|
||||
}
|
||||
if (_command_keycodes[1]
|
||||
&& check_modifier (&xEvent, _command_keycodes[2]))
|
||||
&& check_modifier (&xEvent, _command_keycodes[1]))
|
||||
{
|
||||
_command_pressed = 2;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue