summaryrefslogtreecommitdiff
path: root/Xprint/ValTree.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xprint/ValTree.c')
-rw-r--r--Xprint/ValTree.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Xprint/ValTree.c b/Xprint/ValTree.c
index 73aa27a36..327cb468c 100644
--- a/Xprint/ValTree.c
+++ b/Xprint/ValTree.c
@@ -30,6 +30,8 @@ not be used in advertising or otherwise to promote the sale, use or other
dealings in this Software without prior written authorization from said
copyright holders.
*/
+/* $XFree86: xc/programs/Xserver/Xprint/ValTree.c,v 1.2 2003/11/10 18:21:44 tsi Exp $ */
+
#include "X.h"
#include "scrnintstr.h"
#include "validate.h"
@@ -116,7 +118,7 @@ XpValidateTree (pParent, pChild, kind)
* borderSize.
*/
origPrntClip = pParent->clipList;
- REGION_INIT(pScreen, &tmpPrntClip, NullBox, 0);
+ REGION_NULL(pScreen, &tmpPrntClip);
REGION_SUBRACT(pScreen, &tmpPrntClip, &pParent->winSize,
&pChild->borderSize);
pParent->clipList = tmpPrntClip;
@@ -149,7 +151,7 @@ XpValidateTree (pParent, pChild, kind)
* Compute pParent's AfterValidate structure by subracting the original
* clipList from the newly computed clipList.
*/
- REGION_INIT(pScreen, &pParent->valdata->after.exposed, NullBox, 0);
+ REGION_NULL(pScreen, &pParent->valdata->after.exposed);
REGION_SUBTRACT(pScreen, &pParent->valdata->after.exposed,
&pParent->clipList, &origPrntClip);