/[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 317 by jsorg71, Fri Feb 7 23:43:37 2003 UTC revision 318 by astrand, Mon Feb 10 12:58:51 2003 UTC
# Line 659  process_raw_bmpcache(STREAM s) Line 659  process_raw_bmpcache(STREAM s)
659          inverted = xmalloc(width * height * Bpp);          inverted = xmalloc(width * height * Bpp);
660          for (y = 0; y < height; y++)          for (y = 0; y < height; y++)
661          {          {
662                  memcpy(&inverted[(height - y - 1) * (width * Bpp)], &data[y * (width * Bpp)], width * Bpp);                  memcpy(&inverted[(height - y - 1) * (width * Bpp)], &data[y * (width * Bpp)],
663                           width * Bpp);
664          }          }
665    
666          bitmap = ui_create_bitmap(width, height, inverted);          bitmap = ui_create_bitmap(width, height, inverted);

Legend:
Removed from v.317  
changed lines
  Added in v.318

  ViewVC Help
Powered by ViewVC 1.1.26