summaryrefslogtreecommitdiffstats
path: root/libvncserver/rfbregion.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2014-03-31 14:33:41 -0500
committerJohannes Schindelin <johannes.schindelin@gmx.de>2014-03-31 14:33:41 -0500
commit3351ba69a47b35e32f3c972b25c7ef01e84cea10 (patch)
treec888a5fc863249dd3e180df2a555e48cfd8122fd /libvncserver/rfbregion.c
parent79e68d065004b24811d68e211c27b918654aabed (diff)
downloadlibtdevnc-3351ba69a47b35e32f3c972b25c7ef01e84cea10.tar.gz
libtdevnc-3351ba69a47b35e32f3c972b25c7ef01e84cea10.zip
Fix tyop
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'libvncserver/rfbregion.c')
-rw-r--r--libvncserver/rfbregion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncserver/rfbregion.c b/libvncserver/rfbregion.c
index 0ab8a12..1947d7c 100644
--- a/libvncserver/rfbregion.c
+++ b/libvncserver/rfbregion.c
@@ -751,7 +751,7 @@ rfbBool sraRgnIteratorNext(sraRectangleIterator* i,sraRect* r)
i->ptrSize += DEFSTEP;
i->sPtrs = (sraSpan**)realloc(i->sPtrs, sizeof(sraSpan*)*i->ptrSize);
}
- i->ptrPos =+ 2;
+ i->ptrPos += 2;
if(sraReverse(i)) {
i->sPtrs[i->ptrPos] = i->sPtrs[i->ptrPos-2]->subspan->back._prev;
i->sPtrs[i->ptrPos+1] = &(i->sPtrs[i->ptrPos-2]->subspan->front);