Commit 66954173 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Check return value of get_bbox().

parent fac74055
...@@ -181,7 +181,8 @@ BOOL PSDRV_WriteSetDownloadFont(PSDRV_PDEVICE *physDev) ...@@ -181,7 +181,8 @@ BOOL PSDRV_WriteSetDownloadFont(PSDRV_PDEVICE *physDev)
strcpy(pdl->ps_name, ps_name); strcpy(pdl->ps_name, ps_name);
pdl->next = NULL; pdl->next = NULL;
get_bbox(physDev, &bbox, &emsize); if (!get_bbox(physDev, &bbox, &emsize))
return FALSE;
if(!is_room_for_font(physDev)) if(!is_room_for_font(physDev))
PSDRV_EmptyDownloadList(physDev, TRUE); PSDRV_EmptyDownloadList(physDev, TRUE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment