diff options
author | Daniel Stone <daniel@fooishbar.org> | 2007-03-21 02:04:12 +0200 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2007-03-21 02:04:45 +0200 |
commit | f292de2ef13dc994a38029cee9e2642576893332 (patch) | |
tree | 05d3f577cacfb5d9914485ede9f78b26081a85b8 /xkb | |
parent | f34b9a20b0181d3c2641c305e91180711afbd4b9 (diff) |
XKB: Fix size_syms calculation bug
Apparently it needed to be nSyms*15/10, not *12/10; make it match the
other allocation code.
Diffstat (limited to 'xkb')
-rw-r--r-- | xkb/XKBMAlloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/XKBMAlloc.c b/xkb/XKBMAlloc.c index 4b7428b2e..9feaf8e93 100644 --- a/xkb/XKBMAlloc.c +++ b/xkb/XKBMAlloc.c @@ -399,7 +399,7 @@ KeyCode matchingKeys[XkbMaxKeyCount],nMatchingKeys; } if (nResize>0) { int nextMatch; - xkb->map->size_syms= (nTotal*12)/10; + xkb->map->size_syms= (nTotal*15)/10; newSyms = _XkbTypedCalloc(xkb->map->size_syms,KeySym); if (newSyms==NULL) return BadAlloc; |