[PATCH] dwrite: Set ret on unimplemented lookup in opentype_layout_apply_gsub_lookup.

Gijs Vermeulen gijsvrm at gmail.com
Mon May 11 08:24:37 CDT 2020


Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
---

This fixes a Clang warning.

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

diff --git a/dlls/dwrite/opentype.c b/dlls/dwrite/opentype.c
index 0feb2feadc..4fe3c32ff5 100644
--- a/dlls/dwrite/opentype.c
+++ b/dlls/dwrite/opentype.c
@@ -4478,6 +4478,7 @@ static void opentype_layout_apply_gsub_lookup(struct scriptshaping_context *cont
             case GSUB_LOOKUP_LIGATURE_SUBST:
             case GSUB_LOOKUP_CONTEXTUAL_SUBST:
             case GSUB_LOOKUP_REVERSE_CHAINING_CONTEXTUAL_SUBST:
+                ret = TRUE;
                 WARN("Unimplemented lookup %d.\n", lookup_type);
                 break;
             default:
-- 
2.26.2




More information about the wine-devel mailing list