diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | libvncserver/rfbregion.c | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,6 @@ +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> * libvncclient/rfbproto.c, libvncclient/zrle.c: Add ZYWRLE support to LibVNCClient diff --git a/libvncserver/rfbregion.c b/libvncserver/rfbregion.c index 9da6b1a..0ab8a12 100755 --- a/libvncserver/rfbregion.c +++ b/libvncserver/rfbregion.c @@ -620,8 +620,8 @@ rfbBool sraRgnPopRect(sraRegion *rgn, sraRect *rect, unsigned long flags) { sraSpan *vcurr, *hcurr; sraSpan *vend, *hend; - rfbBool right2left = flags & 2; - rfbBool bottom2top = flags & 1; + rfbBool right2left = (flags & 2) == 2; + rfbBool bottom2top = (flags & 1) == 1; /* - Pick correct order */ if (bottom2top) { |