X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=window.c;fp=window.c;h=248623313e35135bdfbedc66be61ebfb10996ebd;hb=036424c74ba59b1dc0886334a2a2a4acde7e7460;hp=cd5dda49b835c008e6d6f6293694dd6e479cf48e;hpb=8a4be1fe2fe88a1b961dfc33c90a65ef33b378ad;p=PuTTY.git diff --git a/window.c b/window.c index cd5dda49..24862331 100644 --- a/window.c +++ b/window.c @@ -22,6 +22,11 @@ #include #include +/* From MSDN: In the WM_SYSCOMMAND message, the four low-order bits of + * wParam are used by Windows, and should be masked off, so we shouldn't + * attempt to store information in them. Hence all these identifiers have + * the low 4 bits clear. */ + #define IDM_SHOWLOG 0x0010 #define IDM_NEWSESS 0x0020 #define IDM_DUPSESS 0x0030