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

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
pull/1/head
dscho 15 years ago
parent 51575e4ed4
commit c04a28f306
  1. 3
      ChangeLog
  2. 4
      libvncserver/rfbregion.c

@ -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

@ -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) {

Loading…
Cancel
Save