diff options
author | marha <marha@users.sourceforge.net> | 2010-04-27 13:04:40 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-04-27 13:04:40 +0000 |
commit | 9691d196c34d551ebc33843692afd0ee23b9389b (patch) | |
tree | 184412bc028d5e4b62492d4c95a899b35e600692 /xorg-server/Xext/panoramiXprocs.c | |
parent | f49a8c2a1f02f8089d709ec8dcf7080c041baf0c (diff) | |
download | vcxsrv-9691d196c34d551ebc33843692afd0ee23b9389b.tar.gz vcxsrv-9691d196c34d551ebc33843692afd0ee23b9389b.tar.bz2 vcxsrv-9691d196c34d551ebc33843692afd0ee23b9389b.zip |
svn merge -r549:HEAD "^/branches/released" .
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)); |