mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1317637 - Replace integer literals which are cast to bool in gfx/. r=jrmuizel
MozReview-Commit-ID: 12hwCenQ3qL --HG-- extra : rebase_source : 8eef835f2e9d0a1b40b54ee0b2a14f8dfc37e726
This commit is contained in:
parent
eec24f4b16
commit
70b7835557
@ -597,7 +597,7 @@ gfxCoreTextShaper::SetGlyphsFromRun(gfxShapedText *aShapedText,
|
||||
// collect all glyphs in a list to be assigned to the first char;
|
||||
// there must be at least one in the clump, and we already measured its advance,
|
||||
// hence the placement of the loop-exit test and the measurement of the next glyph
|
||||
while (1) {
|
||||
while (true) {
|
||||
gfxTextRun::DetailedGlyph *details = detailedGlyphs.AppendElement();
|
||||
details->mGlyphID = glyphs[glyphStart];
|
||||
details->mXOffset = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user