aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-09 20:52:23 +0100
committerUlrich Sibiller <uli42@gmx.de>2020-01-09 20:52:23 +0100
commit21079cf31ab2958472714984a8259455e93a2dfd (patch)
tree25715dce9401034cb35cdb62a707dad52f476b41
parent105cd2be6dfce3579cb585a8d78f655f19cef57b (diff)
downloadnx-libs-21079cf31ab2958472714984a8259455e93a2dfd.tar.gz
nx-libs-21079cf31ab2958472714984a8259455e93a2dfd.tar.bz2
nx-libs-21079cf31ab2958472714984a8259455e93a2dfd.zip
Drawable.c: fix segfault
Revert a wrong change that misteriously slipped in via the comment reformatting commit 0133d4619. Fixes ArcticaProject/nx-libs#893
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Drawable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Drawable.c b/nx-X11/programs/Xserver/hw/nxagent/Drawable.c
index 7c69c99d9..199f01cd8 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Drawable.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Drawable.c
@@ -405,7 +405,7 @@ int nxagentSynchronizeRegion(DrawablePtr pDrawable, RegionPtr pRegion, unsigned
RegionNumRects(nxagentCorruptedRegion((DrawablePtr) nxagentDrawableBitmap(pDrawable))));
#endif
- RegionPtr clipRegion = nxagentCreateRegion(pDrawable, NULL, 0, 0, pDrawable -> width, pDrawable -> height);
+ clipRegion = nxagentCreateRegion(pDrawable, NULL, 0, 0, pDrawable -> width, pDrawable -> height);
/*
* Intersecting the viewable region of the drawable with the