mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Fixes for (Backend)->size() changes -- internal declarations didn't include
new arguments and neither did internal calls. [originally from svn r2119]
This commit is contained in:
4
telnet.c
4
telnet.c
@ -141,7 +141,7 @@ static char *telopt(int opt)
|
||||
return "<unknown>";
|
||||
}
|
||||
|
||||
static void telnet_size(void);
|
||||
static void telnet_size(int width, int height);
|
||||
|
||||
struct Opt {
|
||||
int send; /* what we initially send */
|
||||
@ -256,7 +256,7 @@ static void option_side_effects(struct Opt *o, int enabled)
|
||||
static void activate_option(struct Opt *o)
|
||||
{
|
||||
if (o->send == WILL && o->option == TELOPT_NAWS)
|
||||
telnet_size();
|
||||
telnet_size(telnet_term_width, telnet_term_height);
|
||||
if (o->send == WILL &&
|
||||
(o->option == TELOPT_NEW_ENVIRON ||
|
||||
o->option == TELOPT_OLD_ENVIRON)) {
|
||||
|
Reference in New Issue
Block a user