From f8dfe9717c4e2d738e1e4b8232ee2273629e5bf9 Mon Sep 17 00:00:00 2001 From: Owen Dunn Date: Sun, 23 Jan 2005 15:01:21 +0000 Subject: [PATCH] Give the config window a title. [originally from svn r5181] --- mac/macdlg.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mac/macdlg.c b/mac/macdlg.c index 544d9a19..57b73ad9 100644 --- a/mac/macdlg.c +++ b/mac/macdlg.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include @@ -54,6 +55,7 @@ void mac_newsession(void) Session *s; WinInfo *wi; static struct sesslist sesslist; + Str255 mactitle; s = snew(Session); memset(s, 0, sizeof(*s)); @@ -85,6 +87,8 @@ void mac_newsession(void) wi->adjustmenus = &macctrl_adjustmenus; wi->close = &mac_closedlg; SetWRefCon(s->settings_window, (long)wi); + c2pstrcpy(mactitle, "PuTTY Configuration"); + SetWTitle(s->settings_window, mactitle); ShowWindow(s->settings_window); }