From 7dd4b9b74b2bfc6cbb12ac5e878b6156b7ded688 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Thu, 28 Jan 2016 04:17:19 +0300 Subject: [PATCH] dwrite: Don't use BOOL defined values for fields that are not BOOL. Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/dwrite/layout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/dwrite/layout.c b/dlls/dwrite/layout.c index 82e67675877..0c3846d8e46 100644 --- a/dlls/dwrite/layout.c +++ b/dlls/dwrite/layout.c @@ -617,9 +617,9 @@ static inline void init_cluster_metrics(const struct dwrite_textlayout *layout, metrics->isSoftHyphen = bp.isSoftHyphen; } else { - metrics->isWhitespace = FALSE; - metrics->isNewline = FALSE; - metrics->isSoftHyphen = FALSE; + metrics->isWhitespace = 0; + metrics->isNewline = 0; + metrics->isSoftHyphen = 0; } metrics->isRightToLeft = run->run.bidiLevel & 1; metrics->padding = 0;