Check return value of get_bbox().

This commit is contained in:
Marcus Meissner 2004-08-02 18:26:14 +00:00 committed by Alexandre Julliard
parent fac7405531
commit 6695417321
1 changed files with 2 additions and 1 deletions

View File

@ -181,7 +181,8 @@ BOOL PSDRV_WriteSetDownloadFont(PSDRV_PDEVICE *physDev)
strcpy(pdl->ps_name, ps_name);
pdl->next = NULL;
get_bbox(physDev, &bbox, &emsize);
if (!get_bbox(physDev, &bbox, &emsize))
return FALSE;
if(!is_room_for_font(physDev))
PSDRV_EmptyDownloadList(physDev, TRUE);