/[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 168 by matthewc, Tue Sep 17 07:23:32 2002 UTC revision 299 by matthewc, Thu Jan 30 11:15:00 2003 UTC
# Line 1  Line 1 
1  /*  /*
2     rdesktop: A Remote Desktop Protocol client.     rdesktop: A Remote Desktop Protocol client.
3     RDP order processing     RDP order processing
4     Copyright (C) Matthew Chapman 1999-2001     Copyright (C) Matthew Chapman 1999-2002
5    
6     This program is free software; you can redistribute it and/or modify     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by     it under the terms of the GNU General Public License as published by
# Line 56  rdp_in_present(STREAM s, uint32 * presen Line 56  rdp_in_present(STREAM s, uint32 * presen
56  static void  static void
57  rdp_in_coord(STREAM s, uint16 * coord, BOOL delta)  rdp_in_coord(STREAM s, uint16 * coord, BOOL delta)
58  {  {
59          uint8 change;          sint8 change;
60    
61          if (delta)          if (delta)
62          {          {
63                  in_uint8(s, change);                  in_uint8(s, change);
64                  *coord += (signed char) change;                  *coord += change;
65          }          }
66          else          else
67          {          {
# Line 910  process_orders(STREAM s) Line 910  process_orders(STREAM s)
910    
911  /* Reset order state */  /* Reset order state */
912  void  void
913  reset_order_state()  reset_order_state(void)
914  {  {
915          memset(&order_state, 0, sizeof(order_state));          memset(&order_state, 0, sizeof(order_state));
916          order_state.order_type = RDP_ORDER_PATBLT;          order_state.order_type = RDP_ORDER_PATBLT;

Legend:
Removed from v.168  
changed lines
  Added in v.299

  ViewVC Help
Powered by ViewVC 1.1.26