mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +00:00
[x11] Clean up some formatting
This commit is contained in:
parent
144a83d761
commit
29f8ed388e
1 changed files with 2 additions and 3 deletions
|
@ -196,7 +196,7 @@ enter_notify (XEvent *event)
|
|||
}
|
||||
|
||||
static void
|
||||
XLateKey (XKeyEvent * ev, int *k, int *u)
|
||||
XLateKey (XKeyEvent *ev, int *k, int *u)
|
||||
{
|
||||
char buffer[4];
|
||||
int unicode;
|
||||
|
@ -205,8 +205,7 @@ XLateKey (XKeyEvent * ev, int *k, int *u)
|
|||
XComposeStatus compose;
|
||||
|
||||
keysym = XLookupKeysym (ev, 0);
|
||||
XLookupString (ev, buffer, sizeof(buffer), &shifted_keysym,
|
||||
&compose);
|
||||
XLookupString (ev, buffer, sizeof(buffer), &shifted_keysym, &compose);
|
||||
unicode = (byte) buffer[0];
|
||||
|
||||
switch (keysym) {
|
||||
|
|
Loading…
Reference in a new issue