[PATCH 2/2] dlls/dwrite: adjust implementation to match prototype
Eric Pouech
eric.pouech at gmail.com
Sat Jan 15 09:46:33 CST 2022
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
dlls/dwrite/opentype.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dwrite/opentype.c b/dlls/dwrite/opentype.c
index 452b00240b8..cf4c1296af2 100644
--- a/dlls/dwrite/opentype.c
+++ b/dlls/dwrite/opentype.c
@@ -3189,7 +3189,7 @@ void opentype_layout_scriptshaping_cache_init(struct scriptshaping_cache *cache)
}
}
-unsigned int opentype_layout_find_script(const struct scriptshaping_cache *cache, unsigned int kind, DWORD script,
+DWORD opentype_layout_find_script(const struct scriptshaping_cache *cache, DWORD kind, DWORD script,
unsigned int *script_index)
{
const struct ot_gsubgpos_table *table = kind == MS_GSUB_TAG ? &cache->gsub : &cache->gpos;
@@ -3219,7 +3219,7 @@ unsigned int opentype_layout_find_script(const struct scriptshaping_cache *cache
return 0;
}
-unsigned int opentype_layout_find_language(const struct scriptshaping_cache *cache, unsigned int kind, DWORD language,
+DWORD opentype_layout_find_language(const struct scriptshaping_cache *cache, DWORD kind, DWORD language,
unsigned int script_index, unsigned int *language_index)
{
const struct ot_gsubgpos_table *table = kind == MS_GSUB_TAG ? &cache->gsub : &cache->gpos;
More information about the wine-devel
mailing list