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 | |
| parent | b6fdd3ba2c97cb38f1f7336a23ee7c980e5883c2 (diff) | |
fixed a crash and incremented to 2.3.3
| -rw-r--r-- | Attorney_Online_remake.pro | 2 | ||||
| -rw-r--r-- | aoapplication.h | 2 | ||||
| -rw-r--r-- | courtroom.cpp | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/Attorney_Online_remake.pro b/Attorney_Online_remake.pro index 1c4cb9d3..74013bc5 100644 --- a/Attorney_Online_remake.pro +++ b/Attorney_Online_remake.pro @@ -13,7 +13,7 @@ RC_ICONS = logo.ico TARGET = Attorney_Online_remake TEMPLATE = app -VERSION = 2.3.2.0 +VERSION = 2.3.3.0 SOURCES += main.cpp\ lobby.cpp \ diff --git a/aoapplication.h b/aoapplication.h index 9c39624f..b08bea6d 100644 --- a/aoapplication.h +++ b/aoapplication.h @@ -135,7 +135,7 @@ public: private: const int RELEASE = 2; const int MAJOR_VERSION = 3; - const int MINOR_VERSION = 2; + const int MINOR_VERSION = 3; QString user_theme = "default"; 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); |
