1
0
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:
Jacob Nevins
2002-10-23 14:03:11 +00:00
parent 38413e0530
commit 771b0299c3
4 changed files with 9 additions and 9 deletions

View File

@ -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)) {