dwrite: Fix range comparison by locale name.

This commit is contained in:
Nikolay Sivov 2015-01-02 22:01:21 +03:00 committed by Alexandre Julliard
parent 6f89df2fb4
commit ed398419bc
1 changed files with 2 additions and 1 deletions

View File

@ -424,7 +424,8 @@ static inline BOOL is_same_layout_attributes(struct layout_range const *left, st
left->effect == right->effect &&
left->underline == right->underline &&
left->strikethrough == right->strikethrough &&
left->collection == right->collection;
left->collection == right->collection &&
!strcmpW(left->locale, right->locale);
}
static inline BOOL is_same_text_range(const DWRITE_TEXT_RANGE *left, const DWRITE_TEXT_RANGE *right)