From 8a32613886171f11ee4a43bee6667ea0fc36adc7 Mon Sep 17 00:00:00 2001 From: Huw D M Davies Date: Sat, 6 Apr 2002 00:37:50 +0000 Subject: [PATCH] Spout a FIXME if we try to call ExtTextOut on an open path. --- objects/text.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/objects/text.c b/objects/text.c index 2692f71ea81..79e6a4c272b 100644 --- a/objects/text.c +++ b/objects/text.c @@ -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 ); }