/[rdesktop]/sourceforge.net/rdesktop/trunk/orders.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/rdesktop/trunk/orders.c

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

revision 844 by jdmeijer, Thu Mar 10 22:48:15 2005 UTC revision 846 by jdmeijer, Fri Mar 11 00:50:19 2005 UTC
# Line 695  process_polyline(STREAM s, POLYLINE_ORDE Line 695  process_polyline(STREAM s, POLYLINE_ORDE
695    
696          points[0].x = os->x;          points[0].x = os->x;
697          points[0].y = os->y;          points[0].y = os->y;
698            pen.style = pen.width = 0;
699            pen.colour = os->fgcolour;
700    
701          index = 0;          index = 0;
702          data = ((os->lines - 1) / 4) + 1;          data = ((os->lines - 1) / 4) + 1;
703          for (next = 1; (next < os->lines) && (data < os->datasize); next++)          for (next = 1; (next <= os->lines) && (data < os->datasize); next++)
704          {          {
705                  if ((next - 1) % 4 == 0)                  if ((next - 1) % 4 == 0)
706                          flags = os->data[index++];                          flags = os->data[index++];
# Line 716  process_polyline(STREAM s, POLYLINE_ORDE Line 718  process_polyline(STREAM s, POLYLINE_ORDE
718                  ui_polyline(os->opcode - 1, points, os->lines + 1, &pen);                  ui_polyline(os->opcode - 1, points, os->lines + 1, &pen);
719          else          else
720                  error("polyline parse error\n");                  error("polyline parse error\n");
721    
722            xfree(points);
723  }  }
724    
725  /* Process an ellipse order */  /* Process an ellipse order */

Legend:
Removed from v.844  
changed lines
  Added in v.846

  ViewVC Help
Powered by ViewVC 1.1.26