mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-31 18:54:07 -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:
@@ -78,6 +78,9 @@ static char *getevent(int i)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static HWND logbox;
|
||||
HWND event_log_window(void) { return logbox; }
|
||||
|
||||
static INT_PTR CALLBACK LogProc(HWND hwnd, UINT msg,
|
||||
WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
|
Reference in New Issue
Block a user