Commit c04a28f3 authored by dscho's avatar dscho

Please MS Visual C++ a bit (Christian Ehrlicher)

Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent 51575e4e
2008-02-18 Christian Ehrlicher <Ch.Ehrlicher@gmx.de>
* libvncserver/rfbregion.c: please MS Visual C++
2008-02-04 Noriaki Yamazaki <micro-vnc@ias.hitachi-system.co.jp> 2008-02-04 Noriaki Yamazaki <micro-vnc@ias.hitachi-system.co.jp>
* libvncclient/rfbproto.c, libvncclient/zrle.c: Add ZYWRLE * libvncclient/rfbproto.c, libvncclient/zrle.c: Add ZYWRLE
support to LibVNCClient support to LibVNCClient
......
...@@ -620,8 +620,8 @@ rfbBool ...@@ -620,8 +620,8 @@ rfbBool
sraRgnPopRect(sraRegion *rgn, sraRect *rect, unsigned long flags) { sraRgnPopRect(sraRegion *rgn, sraRect *rect, unsigned long flags) {
sraSpan *vcurr, *hcurr; sraSpan *vcurr, *hcurr;
sraSpan *vend, *hend; sraSpan *vend, *hend;
rfbBool right2left = flags & 2; rfbBool right2left = (flags & 2) == 2;
rfbBool bottom2top = flags & 1; rfbBool bottom2top = (flags & 1) == 1;
/* - Pick correct order */ /* - Pick correct order */
if (bottom2top) { if (bottom2top) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment