Aric Stewart : usp10: Do not over increment glyph index in Chaining Contextual Substitution.

Alexandre Julliard julliard at winehq.org
Tue Jun 7 12:02:38 CDT 2011


Module: wine
Branch: master
Commit: 6657bf2d69828d0fa0d14d588c1f79eae802c145
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6657bf2d69828d0fa0d14d588c1f79eae802c145

Author: Aric Stewart <aric at codeweavers.com>
Date:   Tue Jun  7 09:57:01 2011 -0500

usp10: Do not over increment glyph index in Chaining Contextual Substitution.

---

 dlls/usp10/shape.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c
index 5ee0b6d..80ac191 100644
--- a/dlls/usp10/shape.c
+++ b/dlls/usp10/shape.c
@@ -1040,7 +1040,7 @@ static INT GSUB_apply_ChainContextSubst(const GSUB_LookupList* lookup, const GSU
                     continue;
                 }
             }
-            return newIndex + 1;
+            return newIndex;
         }
     }
     return -1;




More information about the wine-cvs mailing list