1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-05 21:42:47 -05:00

`realhost', passed back from all the backend init functions, was

scoped within those functions. It's now dynamically allocated.

[originally from svn r1108]
This commit is contained in:
Simon Tatham
2001-05-09 14:01:15 +00:00
parent d1d65fa6d0
commit c2eb57a034
8 changed files with 22 additions and 17 deletions

View File

@ -476,6 +476,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
sprintf(msg, "%s - PuTTY", realhost);
title = msg;
}
sfree(realhost);
set_title(title);
set_icon(title);
}