X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/cfb1e4b18bd2a20e1e37fca479d098ddfa350d56..27be44524b0e41e95ce86831b885e1e1ed16886f:/sizetip.c?ds=sidebyside diff --git a/sizetip.c b/sizetip.c index 321216a8..94407ae5 100644 --- a/sizetip.c +++ b/sizetip.c @@ -2,16 +2,18 @@ #include #include #include +#include #include "putty.h" -ATOM tip_class = 0; +static ATOM tip_class = 0; -HFONT tip_font; -COLORREF tip_bg; -COLORREF tip_text; +static HFONT tip_font; +static COLORREF tip_bg; +static COLORREF tip_text; -LRESULT CALLBACK SizeTipWndProc(HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam) +static LRESULT CALLBACK SizeTipWndProc(HWND hWnd, UINT nMsg, + WPARAM wParam, LPARAM lParam) { switch (nMsg) { @@ -85,8 +87,8 @@ LRESULT CALLBACK SizeTipWndProc(HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lPar return DefWindowProc(hWnd, nMsg, wParam, lParam); } -HWND tip_wnd = NULL; -int tip_enabled = 0; +static HWND tip_wnd = NULL; +static int tip_enabled = 0; void UpdateSizeTip(HWND src, int cx, int cy) {