diff options
| author | OmniTroid <davidskoland@gmail.com> | 2017-04-04 21:00:45 +0200 |
|---|---|---|
| committer | OmniTroid <davidskoland@gmail.com> | 2017-04-04 21:00:45 +0200 |
| commit | 8a8062fbbf9a20905e28eb97837ea538d23da862 (patch) | |
| tree | fdfe5fd9a901b2c92a701d9dc246975f0d5ceeed /courtroom.cpp | |
| parent | b6fdd3ba2c97cb38f1f7336a23ee7c980e5883c2 (diff) | |
fixed a crash and incremented to 2.3.3
Diffstat (limited to 'courtroom.cpp')
| -rw-r--r-- | courtroom.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/courtroom.cpp b/courtroom.cpp index ee09bba9..05ee6892 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -856,6 +856,9 @@ void Courtroom::on_chat_return_pressed() void Courtroom::handle_chatmessage(QStringList *p_contents) { + if (p_contents->size() < 15) + return; + for (int n_string = 0 ; n_string < chatmessage_size ; ++n_string) { m_chatmessage[n_string] = p_contents->at(n_string); |
