author | Karl Tomlinson <karlt+@karlt.net> |
Fri, 26 Aug 2011 10:57:51 +1200 | |
changeset 76169 | 4c05b2f72ff17b225f8dcc6badc71b31e01b7a2a |
parent 76015 | ca5a3569462d7b03ba1da27ed161e1d506190912 |
child 76170 | 2f4ba564a7583a934fa9129ccd2bd6e62f784ac3 |
push id | 21084 |
push user | bmo@edmorley.co.uk |
push date | Tue, 30 Aug 2011 11:14:24 +0000 |
treeherder | mozilla-central@31b79d4e90f4 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | jfkthame |
bugs | 678561 |
milestone | 9.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/gfx/thebes/gfxFontconfigUtils.cpp +++ b/gfx/thebes/gfxFontconfigUtils.cpp @@ -259,18 +259,18 @@ gfxFontconfigUtils::NewPattern(const nsT // aliases (so that the preferred font depends on language). // However, this would give them lower priority than subsequent // non-generic families in the list. To ensure that subsequent // families do not have a higher priority, they are given weak // bindings. for (PRUint32 g = 0; g < NS_ARRAY_LENGTH(sFontconfigGenerics); ++g) { - if (FcStrCmpIgnoreCase(ToFcChar8(sFontconfigGenerics[g]), - ToFcChar8(family.get()))) { + if (0 == FcStrCmpIgnoreCase(ToFcChar8(sFontconfigGenerics[g]), + ToFcChar8(family.get()))) { useWeakBinding = PR_TRUE; break; } } } else { AddWeakString(pattern, FC_FAMILY, family.get()); } }