diff src/message.c @ 625:81fe2ccc1207 v7.0179

updated for version 7.0179
author vimboss
date Thu, 12 Jan 2006 23:22:24 +0000
parents 7fe13e0f5dce
children 732c7ae5743e
line wrap: on
line diff
--- a/src/message.c
+++ b/src/message.c
@@ -752,7 +752,7 @@ add_msg_hist(s, len, attr)
 	return;
 
     /* Don't let the message history get too big */
-    while (msg_hist_len > 20)
+    while (msg_hist_len > MAX_MSG_HIST_LEN)
 	(void)delete_first_msg();
 
     /* allocate an entry and add the message at the end of the history */