diff options
author | marha <marha@users.sourceforge.net> | 2010-04-27 12:17:43 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-04-27 12:17:43 +0000 |
commit | 929c7e1e824590c2f8bd47135f96c98a34027dd5 (patch) | |
tree | 6276192c5c4b18aaab2eccbc03b8d6e1b859ab1b /xorg-server/Xext/panoramiXprocs.c | |
parent | e026745845d87ab4cd8b2a96b665d24b025644e1 (diff) | |
download | vcxsrv-929c7e1e824590c2f8bd47135f96c98a34027dd5.tar.gz vcxsrv-929c7e1e824590c2f8bd47135f96c98a34027dd5.tar.bz2 vcxsrv-929c7e1e824590c2f8bd47135f96c98a34027dd5.zip |
git update 27/4/2010
Diffstat (limited to 'xorg-server/Xext/panoramiXprocs.c')
-rw-r--r-- | xorg-server/Xext/panoramiXprocs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/Xext/panoramiXprocs.c b/xorg-server/Xext/panoramiXprocs.c index 6834efb71..6635db905 100644 --- a/xorg-server/Xext/panoramiXprocs.c +++ b/xorg-server/Xext/panoramiXprocs.c @@ -1728,7 +1728,7 @@ int PanoramiXPolyFillArc(ClientPtr client) isRoot = (draw->type == XRT_WINDOW) && draw->u.win.root; narcs = (client->req_len << 2) - sizeof(xPolyFillArcReq); - IF_RETURN((narcs % sizeof(xArc)), BadLength); + if (narcs % sizeof(xArc)) return BadLength; narcs /= sizeof(xArc); if (narcs > 0) { origArcs = xalloc(narcs * sizeof(xArc)); |