X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/a0b4f637ba1a6c3c5651b61a69303b029bacf7d3..2ca993e82fb37b597a3c73ecd1586a139a6579c5:/icuSources/layout/SimpleArrayProcessor2.cpp diff --git a/icuSources/layout/SimpleArrayProcessor2.cpp b/icuSources/layout/SimpleArrayProcessor2.cpp index 76441597..2ca0f318 100644 --- a/icuSources/layout/SimpleArrayProcessor2.cpp +++ b/icuSources/layout/SimpleArrayProcessor2.cpp @@ -1,6 +1,6 @@ /* * - * (C) Copyright IBM Corp. and others 1998-2013 - All Rights Reserved + * (C) Copyright IBM Corp. and others 1998-2015 - All Rights Reserved * */ @@ -36,10 +36,11 @@ SimpleArrayProcessor2::~SimpleArrayProcessor2() void SimpleArrayProcessor2::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) { - if (LE_FAILURE(success)) return; le_int32 glyphCount = glyphStorage.getGlyphCount(); le_int32 glyph; + if (LE_FAILURE(success)) return; + for (glyph = 0; glyph < glyphCount; glyph += 1) { LEGlyphID thisGlyph = glyphStorage[glyph]; if (LE_GET_GLYPH(thisGlyph) < 0xFFFF) {