1
0
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:
Simon Tatham
2020-02-02 10:00:42 +00:00
parent 3cb86d9fa8
commit 866f8e2d96
3 changed files with 5 additions and 1 deletions

View File

@@ -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)
{