wineps.drv: Ignore ExtTextOut calls that occur before the job has started.

This commit is contained in:
Huw Davies 2007-06-18 11:29:51 +01:00 committed by Alexandre Julliard
parent d9a4a3bf46
commit 4b8c1c46d2
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ BOOL PSDRV_ExtTextOut( PSDRV_PDEVICE *physDev, INT x, INT y, UINT flags,
TRACE("(x=%d, y=%d, flags=0x%08x, str=%s, count=%d, lpDx=%p)\n", x, y, TRACE("(x=%d, y=%d, flags=0x%08x, str=%s, count=%d, lpDx=%p)\n", x, y,
flags, debugstr_wn(str, count), count, lpDx); flags, debugstr_wn(str, count), count, lpDx);
if(physDev->job.hJob == 0) return FALSE;
/* write font if not already written */ /* write font if not already written */
PSDRV_SetFont(physDev); PSDRV_SetFont(physDev);