summaryrefslogtreecommitdiffstats
path: root/vncterm/VNConsole.c
diff options
context:
space:
mode:
authordscho <dscho>2003-07-28 12:01:07 +0000
committerdscho <dscho>2003-07-28 12:01:07 +0000
commit13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b (patch)
tree8ca17b27e8b953403b93625381aa162d734c4287 /vncterm/VNConsole.c
parenteef408c1d84c7aaceb9732dd9a7e216886d2c2f8 (diff)
downloadlibvncserver-13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b.zip
libvncserver-13b358fed1b89a7a7f8c47bc175dcb3ccae1e39b.tar.gz
fixed maxRectsPerUpdate with Tight encoding bug; some autoconfing; stderr should not be used in a library (use rfbLog instead)
Diffstat (limited to 'vncterm/VNConsole.c')
-rw-r--r--vncterm/VNConsole.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/vncterm/VNConsole.c b/vncterm/VNConsole.c
index 72e2fdc..cd80288 100644
--- a/vncterm/VNConsole.c
+++ b/vncterm/VNConsole.c
@@ -52,7 +52,7 @@ void vcDrawCursor(vncConsolePtr c)
{
rfbDrawCursor(c->rfbScreen);
if(c->cursorActive && !c->cursorIsDrawn && c->y<c->height && c->x<c->width) {
- /* fprintf(stderr,"DrawCursor: %d,%d\n",c->x,c->y); */
+ /* rfbLog("DrawCursor: %d,%d\n",c->x,c->y); */
vcDrawOrHideCursor(c);
}
}
@@ -63,7 +63,7 @@ void vcHideCursor(vncConsolePtr c)
if(c->currentlyMarking)
vcUnmark(c);
if(c->cursorIsDrawn) {
- /* fprintf(stderr,"HideCursor: %d,%d\n",c->x,c->y); */
+ /* rfbLog("HideCursor: %d,%d\n",c->x,c->y); */
vcDrawOrHideCursor(c);
}
}
@@ -158,7 +158,7 @@ void vcScroll(vncConsolePtr c,int lineCount)
if(lineCount==0)
return;
- /* fprintf(stderr,"begin scroll\n"); */
+ /* rfbLog("begin scroll\n"); */
vcHideCursor(c);
c->dontDrawCursor=TRUE;
@@ -197,7 +197,7 @@ void vcScroll(vncConsolePtr c,int lineCount)
memset(c->attributeBuffer+y1/c->cHeight*c->width,0x07,
(y2-y1)/c->cHeight*c->width);
#endif
- /* fprintf(stderr,"end scroll\n"); */
+ /* rfbLog("end scroll\n"); */
}
void vcCheckCoordinates(vncConsolePtr c)
@@ -256,7 +256,7 @@ void vcPutCharColour(vncConsolePtr c,unsigned char ch,unsigned char foreColour,u
} while(c->x%8);
break;
default:
- fprintf(stderr,"putchar of unknown character: %c(%d).\n",ch,ch);
+ rfbLog("putchar of unknown character: %c(%d).\n",ch,ch);
vcPutChar(c,' ');
}
} else {
@@ -420,7 +420,7 @@ void vcPtrAddEventProc(int buttonMask,int x,int y,rfbClientPtr cl)
c->markEnd=pos;
vcToggleMarkCell(c,pos);
} else {
- DEBUG(fprintf(stderr,"markStart: %d, markEnd: %d, pos: %d\n",
+ DEBUG(rfbLog("markStart: %d, markEnd: %d, pos: %d\n",
c->markStart,c->markEnd,pos));
if(c->markEnd!=pos) {
if(c->markEnd<pos) {
OpenPOWER on IntegriCloud