]> granicus.if.org Git - nethack/commitdiff
(from <Someone>)
authornethack.allison <nethack.allison>
Tue, 13 Aug 2002 00:38:03 +0000 (00:38 +0000)
committernethack.allison <nethack.allison>
Tue, 13 Aug 2002 00:38:03 +0000 (00:38 +0000)
there is a maximum of 200 characters for a message line
now. That should be TBUFSZ.

win/win32/mhmsgwnd.c

index 1b7398ed3546a8e6af3f18f4f4e6103a47d98973..440631d96c72d1a4cad5ae46ddf7805a3de332bd 100644 (file)
@@ -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