Fix return value of ExtTextOut in the case when count == 0.

This commit is contained in:
Huw Davies 2005-09-08 18:55:07 +00:00 committed by Alexandre Julliard
parent 4cc1c14005
commit 95a2cead20
1 changed files with 3 additions and 0 deletions

View File

@ -1856,7 +1856,10 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
dc->funcs->pExtTextOut(dc->physDev, 0, 0, ETO_OPAQUE, &rc, NULL, 0, NULL);
if(count == 0)
{
ret = TRUE;
goto done;
}
pt.x = x;
pt.y = y;