aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/courtroom.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index 182c2a68..6132ed9c 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -349,8 +349,10 @@ private:
// amount by which we multiply the delay when we parse punctuation chars
const int punctuation_modifier = 3;
- static const int chatmessage_size = 30;
- QString m_chatmessage[chatmessage_size];
+ // Minumum and maximum number of parameters in the MS packet
+ static const int MS_MINIMUM = 15;
+ static const int MS_MAXIMUM = 30;
+ QString m_chatmessage[MS_MAXIMUM];
bool chatmessage_is_empty = false;
QString previous_ic_message = "";