addon/mg: Fix regression causing all categories to be filtered out by default

Turns out unsigned long(true) is not a comprehensive enough value for
setting a boost::dynamic_bitset to have all bits initially on.
Regression introduced by commit
fe08701b7c.

Fixes the more visible half of bug #25073.
This commit is contained in:
Ignacio R. Morelle 2016-09-28 06:34:06 -03:00
parent 9811ad334b
commit c26b13372b

View file

@ -460,7 +460,7 @@ struct addons_filter_state
addons_filter_state()
: keywords()
, types(ADDON_TYPES_COUNT, true)
, types(ADDON_TYPES_COUNT, 0xFFFFFFFFUL)
, status(FILTER_ALL)
, sort(SORT_NAMES)
, direction(DIRECTION_ASCENDING)