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

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

revision 687 by n-ki, Fri Apr 30 06:18:08 2004 UTC revision 711 by jsorg71, Tue Jun 15 22:45:12 2004 UTC
# Line 651  rdp_process_bitmap_caps(STREAM s) Line 651  rdp_process_bitmap_caps(STREAM s)
651           * The server may limit bpp and change the size of the desktop (for           * The server may limit bpp and change the size of the desktop (for
652           * example when shadowing another session).           * example when shadowing another session).
653           */           */
654          g_server_bpp = bpp;          if (g_server_bpp != bpp)
655          g_width = width;          {
656          g_height = height;                  warning("colour depth changed from %d to %d\n", g_server_bpp, bpp);
657                    g_server_bpp = bpp;
658          ui_resize_window();          }
659            if (g_width != width || g_height != height)
660            {
661                    warning("screen size changed from %dx%d to %dx%d\n", g_width, g_height,
662                                    width, height);
663                    g_width = width;
664                    g_height = height;
665                    ui_resize_window();
666            }
667  }  }
668    
669  /* Respond to a demand active PDU */  /* Respond to a demand active PDU */
# Line 980  process_data_pdu(STREAM s, uint32 * ext_ Line 988  process_data_pdu(STREAM s, uint32 * ext_
988                  //len -= 18;                  //len -= 18;
989    
990                  /* allocate memory and copy the uncompressed data into the temporary stream */                  /* allocate memory and copy the uncompressed data into the temporary stream */
991                  ns->data = xrealloc(ns->data, rlen);                  ns->data = (uint8 *) xrealloc(ns->data, rlen);
992    
993                  memcpy((ns->data), (unsigned char *) (g_mppc_dict.hist + roff), rlen);                  memcpy((ns->data), (unsigned char *) (g_mppc_dict.hist + roff), rlen);
994    

Legend:
Removed from v.687  
changed lines
  Added in v.711

  ViewVC Help
Powered by ViewVC 1.1.26