dwrite: Don't use BOOL defined values for fields that are not BOOL.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-01-28 04:17:19 +03:00 committed by Alexandre Julliard
parent ef73b788e5
commit 7dd4b9b74b
1 changed files with 3 additions and 3 deletions

View File

@ -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;