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

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

revision 159 by matthewc, Sun Sep 15 12:36:55 2002 UTC revision 160 by matthewc, Sun Sep 15 12:42:26 2002 UTC
# Line 34  char username[16]; Line 34  char username[16];
34  char hostname[16];  char hostname[16];
35  char keymapname[16];  char keymapname[16];
36  int keylayout = 0x409;          /* Defaults to US keyboard layout */  int keylayout = 0x409;          /* Defaults to US keyboard layout */
37  int width;  int width = 800;
38  int height;  int height = 600;
39  int tcp_port_rdp = TCP_PORT_RDP;  int tcp_port_rdp = TCP_PORT_RDP;
40  BOOL bitmap_compression = True;  BOOL bitmap_compression = True;
41  BOOL sendmotion = True;  BOOL sendmotion = True;
# Line 234  main(int argc, char *argv[]) Line 234  main(int argc, char *argv[])
234                  STRNCPY(password, p, sizeof(password));                  STRNCPY(password, p, sizeof(password));
235          }          }
236    
         if ((width == 0) || (height == 0))  
         {  
                 width = 800;  
                 height = 600;  
         }  
         else  
         {  
                 /* make sure width is a multiple of 4 */  
                 width = (width + 3) & ~3;  
         }  
   
237          if (!strlen(title))          if (!strlen(title))
238          {          {
239                  strcpy(title, "rdesktop - ");                  strcpy(title, "rdesktop - ");

Legend:
Removed from v.159  
changed lines
  Added in v.160

  ViewVC Help
Powered by ViewVC 1.1.26