mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
XKB: Sanitise ctrls action
Turn four unsigned chars into one unsigned long. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
1bd7fd195d
commit
b5f49382fe
4 changed files with 7 additions and 19 deletions
|
|
@ -890,7 +890,7 @@ unsigned tmp;
|
|||
char tbuf[32];
|
||||
|
||||
act= &action->ctrls;
|
||||
tmp= XkbActionCtrls(act);
|
||||
tmp= act->ctrls;
|
||||
TryCopyStr(buf,"controls=",sz);
|
||||
if (tmp==0)
|
||||
TryCopyStr(buf,"none",sz);
|
||||
|
|
|
|||
Loading…
Reference in a new issue