Nikolay Sivov : dwrite: Fix global feature mask to match its shift.

Alexandre Julliard julliard at winehq.org
Fri Jun 5 14:16:52 CDT 2020


Module: wine
Branch: master
Commit: e89aa70555d5fec8df7230ad1fcf628ef2b3f8a0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e89aa70555d5fec8df7230ad1fcf628ef2b3f8a0

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Fri Jun  5 16:38:01 2020 +0300

dwrite: Fix global feature mask to match its shift.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dwrite/opentype.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dwrite/opentype.c b/dlls/dwrite/opentype.c
index 64fba56202..fc46610bcb 100644
--- a/dlls/dwrite/opentype.c
+++ b/dlls/dwrite/opentype.c
@@ -4407,7 +4407,7 @@ static void opentype_layout_collect_lookups(struct scriptshaping_context *contex
     struct shaping_feature *feature;
     unsigned int i, j, next_bit;
     unsigned int global_bit_shift = 1;
-    unsigned int global_bit_mask = 1;
+    unsigned int global_bit_mask = 2;
     UINT16 feature_index;
 
     if (!table->table.data)




More information about the wine-cvs mailing list