Use single define for max message history
... instead of having every windowport define their own variant. Affects tty, curses, X11, and Windows GUI.
This commit is contained in:
@@ -453,8 +453,8 @@ curses_init_mesg_history(void)
|
||||
max_messages = 1;
|
||||
}
|
||||
|
||||
if (max_messages > MESG_HISTORY_MAX) {
|
||||
max_messages = MESG_HISTORY_MAX;
|
||||
if (max_messages > MAX_MSG_HISTORY) {
|
||||
max_messages = MAX_MSG_HISTORY;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user