]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
We must InitCommonControls() or the progress bar doesn't work on 95
authorSimon Tatham <anakin@pobox.com>
Fri, 20 Oct 2000 09:24:44 +0000 (09:24 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 20 Oct 2000 09:24:44 +0000 (09:24 +0000)
[originally from svn r716]

puttygen.c

index c633f5afe28071c79b4f653f480b94c299afe21b..564067ae738c16d52fe7cf5660296e67642bc430 100644 (file)
@@ -657,6 +657,7 @@ static int CALLBACK MainDlgProc (HWND hwnd, UINT msg,
 }
 
 int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) {
+    InitCommonControls();
     hinst = inst;
     random_init();
     return DialogBox(hinst, MAKEINTRESOURCE(201), NULL, MainDlgProc) != IDOK;