]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/layout/SingleTableProcessor.cpp
ICU-57132.0.1.tar.gz
[apple/icu.git] / icuSources / layout / SingleTableProcessor.cpp
index 761a0efb15935d280b64a232ca707198540086f0..32661dbce47ff69e047c6845fc339536b1414b2d 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *
- * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
+ * (C) Copyright IBM Corp. 1998-2015 - All Rights Reserved
  *
  */
 
@@ -38,6 +38,8 @@ void SingleTableProcessor::process(LEGlyphStorage &glyphStorage, LEErrorCode &su
     le_int32 glyph;
     le_int32 glyphCount = glyphStorage.getGlyphCount();
 
+    if (LE_FAILURE(success)) return;
+
     for (glyph = 0; glyph < glyphCount; glyph += 1) {
       const LookupSingle *lookupSingle = singleTableLookupTable->lookupSingle(singleTableLookupTable, entries, glyphStorage[glyph], success);