Mercurial > ~mikael > mcabber > hg
diff mcabber/src/screen.h @ 276:627925d885de
Limit the number of lines in multi-line messages
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 04 Jul 2005 12:55:54 +0100 |
parents | 8d3d5bd52da3 |
children | f0b7ff2df7e8 1ceb68eb2fc1 |
line wrap: on
line diff
--- a/mcabber/src/screen.h Sun Jul 03 22:41:42 2005 +0100 +++ b/mcabber/src/screen.h Mon Jul 04 12:55:54 2005 +0100 @@ -16,6 +16,11 @@ #define INPUTLINE_LENGTH 1024 +// Only used in screen.c; this is the maximum line number +// in a multi-line message. Should be < 1000 +// Note: message length is limited by the HBB_BLOCKSIZE size too +#define MULTILINE_MAX_LINE_NUMBER 299 + extern int update_roster; void scr_InitCurses(void);