Commit 364035c0 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Keyboard.c: use existing define instead of hardcoced value

parent 2bb498a4
......@@ -553,7 +553,7 @@ void nxagentChangeKeyboardControl(DeviceIntPtr pDev, KeybdCtrl *ctrl)
value_mask = KBLed | KBLedMode;
for (int i = 1; i <= 32; i++)
for (int i = 1; i <= XkbNumIndicators; i++)
{
unsigned int mask = (unsigned int)1 << (i - 1);
values.led = i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment