diff options
author | dscho <dscho> | 2004-08-30 15:45:58 +0000 |
---|---|---|
committer | dscho <dscho> | 2004-08-30 15:45:58 +0000 |
commit | 97299606daab079cd88a096308487341c113ccec (patch) | |
tree | d8f51cfacae63482f330ce20c07dc373c341e893 /libvncserver/zrle.c | |
parent | 0d3b958b479e598b081b9848c34bb74aca9ee7fa (diff) | |
download | libtdevnc-97299606daab079cd88a096308487341c113ccec.tar.gz libtdevnc-97299606daab079cd88a096308487341c113ccec.zip |
global structures/functions should have "rfb", "sra" or "zrle" as prefix,
while structure members should not
Diffstat (limited to 'libvncserver/zrle.c')
-rw-r--r-- | libvncserver/zrle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libvncserver/zrle.c b/libvncserver/zrle.c index 6ab933e..4990fc2 100644 --- a/libvncserver/zrle.c +++ b/libvncserver/zrle.c @@ -33,7 +33,7 @@ + (cl->screen->paddedWidthInBytes * ty) \ + (tx * (cl->screen->bitsPerPixel / 8))); \ \ - (*cl->translateFn)(cl->translateLookupTable, &cl->screen->rfbServerFormat,\ + (*cl->translateFn)(cl->translateLookupTable, &cl->screen->serverFormat,\ &cl->format, fbptr, (char*)buf, \ cl->screen->paddedWidthInBytes, tw, th); } @@ -123,8 +123,8 @@ rfbBool rfbSendRectEncodingZRLE(rfbClientPtr cl, int x, int y, int w, int h) break; } - cl->rfbRectanglesSent[rfbEncodingZRLE]++; - cl->rfbBytesSent[rfbEncodingZRLE] += (sz_rfbFramebufferUpdateRectHeader + cl->rectanglesSent[rfbEncodingZRLE]++; + cl->bytesSent[rfbEncodingZRLE] += (sz_rfbFramebufferUpdateRectHeader + sz_rfbZRLEHeader + ZRLE_BUFFER_LENGTH(&zos->out)); if (cl->ublen + sz_rfbFramebufferUpdateRectHeader + sz_rfbZRLEHeader |