Alexandre Julliard : wineps.drv: Fix end of list check in PSDRV_UpdateDevCaps().
Module: wine Branch: master Commit: 000736ae116535728a3e99822da365cd8213bf80 URL: http://source.winehq.org/git/wine.git/?a=commit;h=000736ae116535728a3e99822d... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Sep 26 12:11:51 2007 +0200 wineps.drv: Fix end of list check in PSDRV_UpdateDevCaps(). --- dlls/wineps.drv/init.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wineps.drv/init.c b/dlls/wineps.drv/init.c index 82ed439..0d1ddd1 100644 --- a/dlls/wineps.drv/init.c +++ b/dlls/wineps.drv/init.c @@ -177,7 +177,7 @@ static void PSDRV_UpdateDevCaps( PSDRV_PDEVICE *physDev ) break; } - if(!page) { + if(&page->entry == &physDev->pi->ppd->PageSizes) { FIXME("Can't find page\n"); physDev->ImageableArea.left = 0; physDev->ImageableArea.right = 0;
participants (1)
-
Alexandre Julliard