diff options
author | dscho <dscho> | 2003-07-28 12:01:07 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-07-28 12:01:07 +0000 |
commit | 13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b (patch) | |
tree | 8ca17b27e8b953403b93625381aa162d734c4287 /rfbregion.c | |
parent | eef408c1d84c7aaceb9732dd9a7e216886d2c2f8 (diff) | |
download | libtdevnc-13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b.tar.gz libtdevnc-13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b.zip |
fixed maxRectsPerUpdate with Tight encoding bug; some autoconfing; stderr should not be used in a library (use rfbLog instead)
Diffstat (limited to 'rfbregion.c')
-rwxr-xr-x | rfbregion.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); } |