mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Move the global 'logbox' into windlg.c.
It was only used in one place outside that module, so I've provided an accessor for that one case.
This commit is contained in:
@ -939,6 +939,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
|
||||
if (msg.message == WM_QUIT)
|
||||
goto finished; /* two-level break */
|
||||
|
||||
HWND logbox = event_log_window();
|
||||
if (!(IsWindow(logbox) && IsDialogMessage(logbox, &msg)))
|
||||
DispatchMessageW(&msg);
|
||||
|
||||
|
Reference in New Issue
Block a user