From 212b9803238d2de2e77cbe5de62d3f616ae50daf Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Fri, 29 Jun 2012 13:33:58 -0700 Subject: randr: Fix REQUEST vs. REQUEST_SIZE_MATCH mismatch ProcRRGetScreenSizeRange uses REQUEST(xRRGetScreenSizeRangeReq) followed by REQUEST_SIZE_MATCH(xRRGetScreenInfoReq). This happens to work out because both requests have the same size, so this is not a functional change, just a cosmetic one. Signed-off-by: Aaron Plattner Reviewed-by: Alan Coopersmith Signed-off-by: Keith Packard --- randr/rrscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'randr') diff --git a/randr/rrscreen.c b/randr/rrscreen.c index 55110e088..c564d1f96 100644 --- a/randr/rrscreen.c +++ b/randr/rrscreen.c @@ -195,7 +195,7 @@ ProcRRGetScreenSizeRange(ClientPtr client) rrScrPrivPtr pScrPriv; int rc; - REQUEST_SIZE_MATCH(xRRGetScreenInfoReq); + REQUEST_SIZE_MATCH(xRRGetScreenSizeRangeReq); rc = dixLookupWindow(&pWin, stuff->window, client, DixGetAttrAccess); if (rc != Success) return rc; -- cgit v1.2.3