summaryrefslogtreecommitdiffstats
path: root/src/const_vars.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/const_vars.hpp')
-rw-r--r--src/const_vars.hpp7
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;