Fix a bug in the calculation of DictGroup::keyMaxLength.
authorCarbo Kuo <byvoid@byvoid.com>
Thu, 25 Feb 2021 11:48:50 +0000 (20:48 +0900)
committerShengjing Zhu <zhsj@debian.org>
Sun, 7 Mar 2021 06:20:40 +0000 (06:20 +0000)
commitac8a01b1e7401733647421000f33f5f35be789f1
tree587cf031b0075e4b470eb16d52c9f2510deebc81
parent99d92d0bc5ed362ae5bce843428cbb21d009caa0
Fix a bug in the calculation of DictGroup::keyMaxLength.

The length should be the maximum of all sub-dictionaries in the dictionary group.

Gbp-Pq: Name 0006-Fix-a-bug-in-the-calculation-of-DictGroup-keyMaxLeng.patch
src/DictGroup.cpp
src/DictGroupTest.cpp