--- sourceforge.net/trunk/rdesktop/rdesktop.c 2002/09/14 11:54:11 122 +++ sourceforge.net/trunk/rdesktop/rdesktop.c 2002/09/15 12:42:26 160 @@ -34,8 +34,8 @@ char hostname[16]; char keymapname[16]; int keylayout = 0x409; /* Defaults to US keyboard layout */ -int width; -int height; +int width = 800; +int height = 600; int tcp_port_rdp = TCP_PORT_RDP; BOOL bitmap_compression = True; BOOL sendmotion = True; @@ -234,17 +234,6 @@ STRNCPY(password, p, sizeof(password)); } - if ((width == 0) || (height == 0)) - { - width = 800; - height = 600; - } - else - { - /* make sure width is a multiple of 4 */ - width = (width + 3) & ~3; - } - if (!strlen(title)) { strcpy(title, "rdesktop - "); @@ -388,6 +377,7 @@ } } +#ifdef SAVE_LICENCE int load_licence(unsigned char **data) { @@ -441,3 +431,4 @@ write(fd, data, length); close(fd); } +#endif