]> granicus.if.org Git - nethack/commitdiff
win32 port update (from <Someone>)
authornethack.allison <nethack.allison>
Mon, 23 Dec 2002 12:59:06 +0000 (12:59 +0000)
committernethack.allison <nethack.allison>
Mon, 23 Dec 2002 12:59:06 +0000 (12:59 +0000)
Implemented doprev_message in windows port: scroll message
window up one line.

win/win32/mswproc.c

index ec0615e5c12e388fc383b1ca13d51cc0c5778011..4b2b93549e8943c8895d571765d0af9987d3ffc5 100644 (file)
@@ -1353,6 +1353,7 @@ doprev_message()
 int mswin_doprev_message()
 {
     logDebug("mswin_doprev_message()\n");
+       SendMessage(mswin_hwnd_from_winid(WIN_MESSAGE), WM_VSCROLL, MAKEWPARAM(SB_LINEUP, 0), (LPARAM)NULL); 
     return 0;
 }