mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-08 06:48:05 +02:00
XQuartz: Fixed bogus args to debug ErrorF
(cherry picked from commit f0351c2b80)
This commit is contained in:
parent
cd59eee244
commit
46b3a5dfd6
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ static void DarwinPressModifierKey(int pressed, int key) {
|
||||||
int keycode = DarwinModifierNXKeyToNXKeycode(key, 0);
|
int keycode = DarwinModifierNXKeyToNXKeycode(key, 0);
|
||||||
|
|
||||||
if (keycode == 0) {
|
if (keycode == 0) {
|
||||||
ErrorF("DarwinPressModifierKey bad keycode: key=%d\n", pressed == KeyPress ? "press" : "release", key, keycode);
|
ErrorF("DarwinPressModifierKey bad keycode: key=%d\n", key);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue