Spout a FIXME if we try to call ExtTextOut on an open path.

This commit is contained in:
Huw D M Davies 2002-04-06 00:37:50 +00:00 committed by Alexandre Julliard
parent b88f72465a
commit 8a32613886
1 changed files with 3 additions and 1 deletions

View File

@ -168,7 +168,9 @@ BOOL WINAPI ExtTextOutW( HDC hdc, INT x, INT y, UINT flags,
DC * dc = DC_GetDCUpdate( hdc );
if (dc)
{
if(dc->funcs->pExtTextOut)
if(PATH_IsPathOpen(dc->path))
FIXME("called on an open path\n");
else if(dc->funcs->pExtTextOut)
ret = dc->funcs->pExtTextOut(dc->physDev,x,y,flags,lprect,str,count,lpDx);
GDI_ReleaseObj( hdc );
}