]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Tweak to r7635: when changing between protocols in the configuration dialog
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 14 Jan 2011 19:57:00 +0000 (19:57 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 14 Jan 2011 19:57:00 +0000 (19:57 +0000)
commitb570f28224ceae4b5d27cb8662d65dd6c8906c59
tree8d2b77288c3801929a85d0979a5b9196f6e7be26
parentc5228adce3bc7ef643940fc182657173b5bd5ac7
Tweak to r7635: when changing between protocols in the configuration dialog
and avoiding trashing a non-default port, don't treat a port of 0 as special;
this was causing defaults to "freeze in" for sequences of clicks like SSH,
Raw, Telnet.
Arrange that a port of 0 (which in a backend indicates no default) is displayed
as a blank in the port box, to make this less jarring.

[originally from svn r9077]
[r7635 == db7cc1cba6dbd229db63d8ab1b2b86125c5d5933]
config.c