sw: fix odd condition in SwpHints::MergePortions()
All of the RES_CHRATR_* items are poolable, hence we have (pItem1 != pItem2) == (pItem1->Which() != pItem2->Which() || *pItem1 != *pItem2) Move the redundant check to an assert() so we notice in case somebody adds a new non-poolable RES_CHRATR. Thanks to ccsheller for pointing me to this condition. Change-Id: I9e0634946b8bede3f483bb8997f69de05beae64c
Showing
Please
register
or
sign in
to comment