Set the window title to the canonical host name when we connect.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 12 Jan 2003 16:25:58 +0000 (16:25 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 12 Jan 2003 16:25:58 +0000 (16:25 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@2574 cda61777-01e9-0310-a592-d414129be87e

mac/macterm.c

index ff59e55..1f14b42 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: macterm.c,v 1.44 2003/01/12 16:11:27 ben Exp $ */
+/* $Id: macterm.c,v 1.45 2003/01/12 16:25:58 ben Exp $ */
 /*
  * Copyright (c) 1999 Simon Tatham
  * Copyright (c) 1999, 2002 Ben Harris
@@ -177,6 +177,7 @@ void mac_startsession(Session *s)
     if (errmsg != NULL)
        fatalbox("%s", errmsg);
     s->back->provide_logctx(s->backhandle, s->logctx);
+    set_title(s, s->realhost);
 
     term_provide_resize_fn(s->term, s->back->size, s->backhandle);