Apparently it didn't compile.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3262 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b5ac90d523
commit
942af209a7
1 changed files with 3 additions and 3 deletions
|
@ -418,8 +418,8 @@ int checkDepth(int d)
|
||||||
{
|
{
|
||||||
if ([event type] == NSKeyDown)
|
if ([event type] == NSKeyDown)
|
||||||
{
|
{
|
||||||
int code = keyconv[[event keyCode]]
|
int code = keyconv[[event keyCode]];
|
||||||
Key_Event(code, code, TRUE);
|
Key_Event(code, code>=128?0:code, TRUE);
|
||||||
//printf("%d\n",[event keyCode]);
|
//printf("%d\n",[event keyCode]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -427,7 +427,7 @@ int checkDepth(int d)
|
||||||
if ([event type] == NSKeyUp)
|
if ([event type] == NSKeyUp)
|
||||||
{
|
{
|
||||||
int code = keyconv[[event keyCode]];
|
int code = keyconv[[event keyCode]];
|
||||||
Key_Event(code, code, FALSE);
|
Key_Event(code, 0, FALSE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue