win32 bits for main trunk (from <Someone>)

- set correct checkmark on "Lock Windows" menu item on startup
- redraw message window on resizing (it does not update properly otherwise)
- fixed copy/paste error in read registry settings function
This commit is contained in:
nethack.allison
2003-08-20 11:39:57 +00:00
parent 48ab2a434c
commit 1fd577124b
4 changed files with 19 additions and 4 deletions

View File

@@ -2294,10 +2294,10 @@ mswin_write_reg()
NHSETREG_DWORD(TEXTRIGHT, GetNHApp()->rtTextWindow.right);
NHSETREG_DWORD(TEXTTOP, GetNHApp()->rtTextWindow.top);
NHSETREG_DWORD(TEXTBOTTOM, GetNHApp()->rtTextWindow.bottom);
NHSETREG_DWORD(TEXTLEFT, GetNHApp()->rtInvenWindow.left);
NHSETREG_DWORD(TEXTRIGHT, GetNHApp()->rtInvenWindow.right);
NHSETREG_DWORD(TEXTTOP, GetNHApp()->rtInvenWindow.top);
NHSETREG_DWORD(TEXTBOTTOM, GetNHApp()->rtInvenWindow.bottom);
NHSETREG_DWORD(INVENTLEFT, GetNHApp()->rtInvenWindow.left);
NHSETREG_DWORD(INVENTRIGHT, GetNHApp()->rtInvenWindow.right);
NHSETREG_DWORD(INVENTTOP, GetNHApp()->rtInvenWindow.top);
NHSETREG_DWORD(INVENTBOTTOM, GetNHApp()->rtInvenWindow.bottom);
#undef NHSETREG_DWORD
RegCloseKey(key);