/[rdesktop]/sourceforge.net/trunk/rdesktop/xwin.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/xwin.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 619 by astrand, Wed Mar 3 10:41:53 2004 UTC revision 620 by astrand, Wed Mar 3 10:46:35 2004 UTC
# Line 1922  ui_draw_text(uint8 font, uint8 flags, in Line 1922  ui_draw_text(uint8 font, uint8 flags, in
1922    
1923          SET_FOREGROUND(bgcolour);          SET_FOREGROUND(bgcolour);
1924    
1925            /* Sometimes, the boxcx value is something really large, like
1926               32691. This makes XCopyArea fail with Xvnc. The code below
1927               is a quick fix. */
1928            if (boxx + boxcx > g_width)
1929                    boxcx = g_width - boxx;
1930    
1931          if (boxcx > 1)          if (boxcx > 1)
1932          {          {
1933                  FILL_RECTANGLE_BACKSTORE(boxx, boxy, boxcx, boxcy);                  FILL_RECTANGLE_BACKSTORE(boxx, boxy, boxcx, boxcy);

Legend:
Removed from v.619  
changed lines
  Added in v.620

  ViewVC Help
Powered by ViewVC 1.1.26