[PATCH 1/2] dwrite: Fix global feature mask to match its shift.

Nikolay Sivov nsivov at codeweavers.com
Fri Jun 5 08:38:01 CDT 2020


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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 64fba562024..fc46610bcba 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)
-- 
2.26.2




More information about the wine-devel mailing list