fixed a crash and incremented to 2.3.3

This commit is contained in:
OmniTroid 2017-04-04 21:00:45 +02:00
parent b6fdd3ba2c
commit 8a8062fbbf
3 changed files with 5 additions and 2 deletions

View File

@ -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 \

View File

@ -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";

View File

@ -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);