/[rdesktop]/sourceforge.net/branches/seamlessrdp-branch/rdesktop/rdesktop.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/branches/seamlessrdp-branch/rdesktop/rdesktop.c

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

revision 861 by stargo, Sun Mar 13 17:40:51 2005 UTC revision 867 by stargo, Wed Mar 23 12:25:54 2005 UTC
# Line 60  int g_width = 800;             /* width is special: Line 60  int g_width = 800;             /* width is special:
60  int g_height = 600;  int g_height = 600;
61  int g_xpos = 0;  int g_xpos = 0;
62  int g_ypos = 0;  int g_ypos = 0;
63    int g_pos = 0;                  /* 0 position unspecified,
64                                       1 specified,
65                                       2 xpos neg,
66                                       4 ypos neg  */
67  extern int g_tcp_port_rdp;  extern int g_tcp_port_rdp;
68  int g_server_bpp = 8;  int g_server_bpp = 8;
69  int g_win_button_size = 0;      /* If zero, disable single app mode */  int g_win_button_size = 0;      /* If zero, disable single app mode */
# Line 481  main(int argc, char *argv[]) Line 485  main(int argc, char *argv[])
485                                  }                                  }
486    
487                                  if (*p == '+' || *p == '-')                                  if (*p == '+' || *p == '-')
488                                    {
489                                            g_pos |= (*p == '-') ? 2 : 1;
490                                          g_xpos = strtol(p, &p, 10);                                          g_xpos = strtol(p, &p, 10);
491    
492                                    }
493                                  if (*p == '+' || *p == '-')                                  if (*p == '+' || *p == '-')
494                                    {
495                                            g_pos |= (*p == '-') ? 4 : 1;
496                                          g_ypos = strtol(p, NULL, 10);                                          g_ypos = strtol(p, NULL, 10);
497                                    }
498    
499                                  break;                                  break;
500    

Legend:
Removed from v.861  
changed lines
  Added in v.867

  ViewVC Help
Powered by ViewVC 1.1.26