Re: wineps.drv: return error if unable to select a builtin font
2 Dec
2010
2 Dec
'10
5:59 p.m.
Aric Stewart <aric(a)codeweavers.com> writes:
@@ -191,6 +191,12 @@ BOOL PSDRV_SelectBuiltinFont(PSDRV_PDEVICE *physDev, HFONT hfont, if(!family) family = physDev->pi->Fonts;
+ if (!family) + { + ERR("Unable to get any font for printer\n"); + return FALSE; + }
If this is something that can legitimately happen it should be handled correctly. -- Alexandre Julliard julliard(a)winehq.org
5490
Age (days ago)
5490
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard