diff options
author | Joursoir <chat@joursoir.net> | 2020-12-12 12:44:08 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2020-12-12 12:44:08 +0000 |
commit | f27143165f1f3c2e47aaa65c4da24875e1639ceb (patch) | |
tree | 52ab0245d0de62c2dae987196850c07acb8fea0d /src/const_vars.hpp | |
parent | 9f6cdb671ca3c045085bd8eed623e0a797894e1f (diff) | |
download | want-chat-f27143165f1f3c2e47aaa65c4da24875e1639ceb.tar.gz want-chat-f27143165f1f3c2e47aaa65c4da24875e1639ceb.tar.bz2 want-chat-f27143165f1f3c2e47aaa65c4da24875e1639ceb.zip |
some changes in work spec-symbols; clui: refactor;
Diffstat (limited to 'src/const_vars.hpp')
-rw-r--r-- | src/const_vars.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/const_vars.hpp b/src/const_vars.hpp index a3817aa..2639818 100644 --- a/src/const_vars.hpp +++ b/src/const_vars.hpp @@ -8,11 +8,8 @@ const int max_player_lenpass = 24; const int min_player_lenpass = 4; // === UI info === // -const int oneline_len = 57; -const int max_usermsg_len = oneline_len * 3 - max_name_len - 2; // ": " = 2 - // 57 * 3 - 18 - 2 = 151 -const int max_msg_len = oneline_len * 3; // 57*3 = 171 -const int lines_in_chat = 18; +const int max_msg_len = 171; // size of buffer for messages +const int max_usermsg_len = max_msg_len - max_name_len - 2; // ": " = 2 // === Message info === // const char USUAL_CHAR = 0; |