X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/c52dd4c99d7b1980746fb257325f502a593d60a8..5d17ccfcfb6aaa0fe7b3fb1d90ffde20a1013cc1:/windows/winpgen.c diff --git a/windows/winpgen.c b/windows/winpgen.c index 3f2be92e..e80dbfec 100644 --- a/windows/winpgen.c +++ b/windows/winpgen.c @@ -1445,7 +1445,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) help_path = NULL; } - random_init(); + random_ref(); return DialogBox(hinst, MAKEINTRESOURCE(201), NULL, MainDlgProc) != IDOK; }