From 6695417321bd2712b74f0ace558c3c836ae7f9f9 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 2 Aug 2004 18:26:14 +0000 Subject: [PATCH] Check return value of get_bbox(). --- dlls/wineps/download.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/wineps/download.c b/dlls/wineps/download.c index c7f1d718c2f..519198b427c 100644 --- a/dlls/wineps/download.c +++ b/dlls/wineps/download.c @@ -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);