Commit 362e72f9 authored by Shachar Shemesh's avatar Shachar Shemesh Committed by Alexandre Julliard

Don't call the reordering function if the string length is 0. This

eliminates a noisy FIXME about ICU returning an incorrect error code.
parent f040a451
......@@ -158,7 +158,7 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
FIXME("called on an open path\n");
else if(dc->funcs->pExtTextOut)
{
if( !(flags&(ETO_GLYPH_INDEX|ETO_IGNORELANGUAGE)) && BidiAvail )
if( !(flags&(ETO_GLYPH_INDEX|ETO_IGNORELANGUAGE)) && BidiAvail && count>0 )
{
/* The caller did not specify that language processing was already done.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment