зеркало из https://github.com/mozilla/moz-skia.git
Fix a precedence error in an assert in the fontconfig host.
Review URL: http://codereview.appspot.com/90060 git-svn-id: http://skia.googlecode.com/svn/trunk@246 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
a545a5598e
Коммит
bff8e29eaf
|
@ -68,7 +68,7 @@ static SkTypeface::Style UniqueIdToStyle(unsigned uniqueid)
|
|||
static unsigned FileIdAndStyleToUniqueId(unsigned fileid,
|
||||
SkTypeface::Style style)
|
||||
{
|
||||
SkASSERT(style & 0xff == style);
|
||||
SkASSERT((style & 0xff) == style);
|
||||
return (fileid << 8) | static_cast<int>(style);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче