diff --git a/xkb/xkb.c b/xkb/xkb.c index f2bcaee41..c78aceb78 100644 --- a/xkb/xkb.c +++ b/xkb/xkb.c @@ -3073,6 +3073,7 @@ XkbComputeGetIndicatorMapReplySize(XkbIndicatorPtr indicators, nIndicators++; } rep->length = (nIndicators * SIZEOF(xkbIndicatorMapWireDesc)) / 4; + rep->nIndicators = nIndicators; return Success; }