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

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

revision 314 by jsorg71, Fri Feb 7 23:43:37 2003 UTC revision 336 by jsorg71, Sun Mar 2 23:45:34 2003 UTC
# Line 605  process_text2(STREAM s, TEXT2_ORDER * os Line 605  process_text2(STREAM s, TEXT2_ORDER * os
605          if (present & 0x002000)          if (present & 0x002000)
606                  in_uint16_le(s, os->boxbottom);                  in_uint16_le(s, os->boxbottom);
607    
608            if (present & 0x004000) /* fix for connecting to a server that */
609                    in_uint8s(s, 10);    /* was disconnected with mstsc.exe */
610                    /* 0x008000, 0x020000, and 0x040000 are present too ??? */
611    
612          if (present & 0x080000)          if (present & 0x080000)
613                  in_uint16_le(s, os->x);                  in_uint16_le(s, os->x);
614    
# Line 659  process_raw_bmpcache(STREAM s) Line 663  process_raw_bmpcache(STREAM s)
663          inverted = xmalloc(width * height * Bpp);          inverted = xmalloc(width * height * Bpp);
664          for (y = 0; y < height; y++)          for (y = 0; y < height; y++)
665          {          {
666                  memcpy(&inverted[(height - y - 1) * (width * Bpp)], &data[y * (width * Bpp)], width * Bpp);                  memcpy(&inverted[(height - y - 1) * (width * Bpp)], &data[y * (width * Bpp)],
667                           width * Bpp);
668          }          }
669    
670          bitmap = ui_create_bitmap(width, height, inverted);          bitmap = ui_create_bitmap(width, height, inverted);

Legend:
Removed from v.314  
changed lines
  Added in v.336

  ViewVC Help
Powered by ViewVC 1.1.26