gdi: Don't treat a NULL rect as an empty rect in ExtTextOutW.
This commit is contained in:
parent
585763ffa9
commit
9de7c3ae78
|
@ -1749,6 +1749,9 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
|
|||
return ret;
|
||||
}
|
||||
|
||||
if (!lprect)
|
||||
flags &= ~ETO_CLIPPED;
|
||||
|
||||
if( !(flags & (ETO_GLYPH_INDEX | ETO_IGNORELANGUAGE)) && BidiAvail && count > 0 )
|
||||
{
|
||||
reordered_str = HeapAlloc(GetProcessHeap(), 0, count*sizeof(WCHAR));
|
||||
|
@ -1800,7 +1803,6 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
|
|||
{
|
||||
if(!lprect)
|
||||
{
|
||||
if(flags & ETO_CLIPPED) goto done;
|
||||
if(flags & ETO_GLYPH_INDEX)
|
||||
GetTextExtentPointI(hdc, glyphs, count, &sz);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue