From 13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b Mon Sep 17 00:00:00 2001 From: dscho Date: Mon, 28 Jul 2003 12:01:07 +0000 Subject: fixed maxRectsPerUpdate with Tight encoding bug; some autoconfing; stderr should not be used in a library (use rfbLog instead) --- rfbregion.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rfbregion.c') diff --git a/rfbregion.c b/rfbregion.c index d3e241a..ab83135 100755 --- a/rfbregion.c +++ b/rfbregion.c @@ -602,7 +602,6 @@ sraRegion *sraRgnBBox(const sraRegion *src) { xmin=hcurr->start; if(hcurr->end>xmax) xmax=hcurr->end; - fprintf(stderr,"%d,%d,%d,%d\n",hcurr->start,vcurr->start,hcurr->end,vcurr->end); hcurr = hcurr->_next; } @@ -761,7 +760,7 @@ Bool sraRgnIteratorNext(sraRectangleIterator* i,sraRect* r) } if((i->ptrPos%4)!=2) { - fprintf(stderr,"sraRgnIteratorNext: offset is wrong (%d%%4!=2)\n",i->ptrPos); + rfbLog("sraRgnIteratorNext: offset is wrong (%d%%4!=2)\n",i->ptrPos); exit(-1); } -- cgit v1.2.1