"Pedro Araujo Chaves Jr." <[EMAIL PROTECTED]> writes:
> Odd as it may seem, my regression testing pointed commit
> 21635133fb271405fefd6bce3078cf971e84c426 as the cause. I positioned my tree
> just before it, and the mail printed okay; I applied it, the mail came out
> blank again.
Try this patch:
diff --git a/dlls/wineps.drv/init.c b/dlls/wineps.drv/init.c
index bd9c16c..23b6cfd 100644
--- a/dlls/wineps.drv/init.c
+++ b/dlls/wineps.drv/init.c
@@ -426,8 +426,10 @@ INT PSDRV_GetDeviceCaps( PSDRV_PDEVICE *physDev, INT cap )
return MulDiv(physDev->vertSize, 100,
physDev->Devmode->dmPublic.dmScale);
case HORZRES:
+ case DESKTOPHORZRES:
return physDev->horzRes;
case VERTRES:
+ case DESKTOPVERTRES:
return physDev->vertRes;
case BITSPIXEL:
return (physDev->pi->ppd->ColorDevice != CD_False) ? 8 : 1;
@@ -508,8 +510,6 @@ INT PSDRV_GetDeviceCaps( PSDRV_PDEVICE *physDev, INT cap )
case SCALINGFACTORX:
case SCALINGFACTORY:
case VREFRESH:
- case DESKTOPVERTRES:
- case DESKTOPHORZRES:
case BLTALIGNMENT:
return 0;
default:
--
Alexandre Julliard
[EMAIL PROTECTED]