From 3ea4cad695db8e624d8ef636eb60047ce3fc1f05 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Tue, 13 Aug 2002 00:38:03 +0000 Subject: [PATCH] (from ) there is a maximum of 200 characters for a message line now. That should be TBUFSZ. --- win/win32/mhmsgwnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/win32/mhmsgwnd.c b/win/win32/mhmsgwnd.c index 1b7398ed3..440631d96 100644 --- a/win/win32/mhmsgwnd.c +++ b/win/win32/mhmsgwnd.c @@ -11,7 +11,7 @@ #define MSG_VISIBLE_LINES max(iflags.wc_vary_msgcount, 2) #define MAX_MSG_LINES 32 #define MSG_LINES (int)min(iflags.msg_history, MAX_MSG_LINES) -#define MAXWINDOWTEXT 200 +#define MAXWINDOWTEXT TBUFSZ #define DEFAULT_COLOR_BG_MSG COLOR_WINDOW #define DEFAULT_COLOR_FG_MSG COLOR_WINDOWTEXT