1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Various bug/warning fixes from Jacob

[originally from svn r926]
This commit is contained in:
Simon Tatham
2001-02-05 13:04:00 +00:00
parent 764a14a431
commit 0507b7437a
3 changed files with 3 additions and 4 deletions

View File

@ -174,7 +174,7 @@ static void deactivate_option (struct Opt *o) {
static void option_side_effects(struct Opt *o, int enabled) {
if (o->option == TELOPT_ECHO && o->send == DO)
echoing = !enabled;
else if (o->option = TELOPT_SGA && o->send == DO)
else if (o->option == TELOPT_SGA && o->send == DO)
editing = !enabled;
ldisc_send(NULL, 0); /* cause ldisc to notice the change */
}