| commit | 4252310c921f29818ce031b115c625d5ace8f087 | [log] [tgz] |
|---|---|---|
| author | Eugene Mayevski <mayevski@eldos.org> | Wed Aug 22 18:00:47 2001 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Wed Aug 22 18:00:47 2001 +0000 |
| tree | 05b6095eb487de04965a9c413c87d3976f6eedda | |
| parent | fa42aa81e41a52fbe9da5750ba17fa302013bfaa [diff] |
Fixed DT_RTLREADING flag interpretation.
diff --git a/dlls/user/text.c b/dlls/user/text.c index 84a1f11..8d092c5 100644 --- a/dlls/user/text.c +++ b/dlls/user/text.c
@@ -394,7 +394,8 @@ 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) {