mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-12 18:13:50 -05:00
We must InitCommonControls() or the progress bar doesn't work on 95
[originally from svn r716]
This commit is contained in:
parent
8d0bee8629
commit
0210709520
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user