Reinstate a piece of code accidentally removed in r9214, where Windows
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 4 Aug 2013 19:32:10 +0000 (19:32 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 4 Aug 2013 19:32:10 +0000 (19:32 +0000)
commit5fd70d0768f86274b22e73f3cd8f59fec0325e36
tree97b96c9b6197866f53bf7c73067b28a47cc0eef0
parent8d90b8b27bf086da6245030459ab3e5977313eb0
Reinstate a piece of code accidentally removed in r9214, where Windows
PuTTY does not trim a colon suffix off the hostname if it contains
_more than one_ colon. This allows IPv6 literals to be entered.

(Really we need to do a much bigger revamp of all uses of hostnames to
arrange that square-bracketed IPv6 literals work consistently, but
this at least removes a regression over 0.62.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@9983 cda61777-01e9-0310-a592-d414129be87e
windows/window.c