Prevent terrible perf regression by getting the if-condition right
(reported by Wouter Bolsterlee).
This commit is contained in:
parent
93f67dfc73
commit
55e145b025
|
@ -1,4 +1,4 @@
|
|||
2006-04-19 Patrick Lam <plam@mit.edu>
|
||||
2006-04-20 Patrick Lam <plam@mit.edu>
|
||||
* ChangeLog:
|
||||
* README:
|
||||
* configure.in:
|
||||
|
@ -6,6 +6,12 @@
|
|||
|
||||
Bump version to 2.3.95.
|
||||
|
||||
2006-04-20 Patrick Lam <plam@mit.edu>
|
||||
* src/fcmatch.c (FcSortWalk):
|
||||
|
||||
Prevent terrible perf regression by getting the if-condition
|
||||
right (reported by Wouter Bolsterlee).
|
||||
|
||||
2006-04-19 Patrick Lam <plam@mit.edu>
|
||||
Dominic Lachowicz <cinamod@hotmail.com>
|
||||
|
||||
|
|
|
@ -808,7 +808,7 @@ FcSortWalk (FcSortNode **n, int nnode, FcFontSet *fs, FcCharSet **cs, FcBool tri
|
|||
*/
|
||||
if (!trim || !*cs || !FcCharSetIsSubset (ncs, *cs))
|
||||
{
|
||||
if (!trim && build_cs)
|
||||
if (trim || build_cs)
|
||||
{
|
||||
if (*cs)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue