Fixed DT_RTLREADING flag interpretation.

This commit is contained in:
Eugene Mayevski 2001-08-22 18:00:47 +00:00 committed by Alexandre Julliard
parent fa42aa81e4
commit 4252310c92
1 changed files with 2 additions and 1 deletions

View File

@ -394,7 +394,8 @@ INT WINAPI DrawTextExW( HDC hdc, LPWSTR str, INT i_count,
if (!(flags & DT_CALCRECT))
{
if (!ExtTextOutW( hdc, x, y,
( (flags & DT_NOCLIP) ? 0 : ETO_CLIPPED ) | ( (flags & DT_RTLREADING) ? 0 : ETO_RTLREADING ),
((flags & DT_NOCLIP) ? 0 : ETO_CLIPPED) |
((flags & DT_RTLREADING) ? ETO_RTLREADING : 0),
rect, line, len, NULL )) return 0;
if (prefix_offset != -1)
{