]> asedeno.scripts.mit.edu Git - PuTTY_svn.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)
commitf80e5ca33f17d275a0ba3b5662c686f3837134af
tree8d2b77288c3801929a85d0979a5b9196f6e7be26
parent066c60b4b737f44be09d756adddcae140ce26969
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.

git-svn-id: http://svn.tartarus.org/sgt/putty@9077 cda61777-01e9-0310-a592-d414129be87e
config.c