diff --git a/cockatrice/src/messagelogwidget.cpp b/cockatrice/src/messagelogwidget.cpp index 9b5f92bb..9b452bf8 100644 --- a/cockatrice/src/messagelogwidget.cpp +++ b/cockatrice/src/messagelogwidget.cpp @@ -144,7 +144,7 @@ void MessageLogWidget::logSay(Player *player, QString message) void MessageLogWidget::logSpectatorSay(QString spectatorName, QString message) { - myAppend(QString("%1: %2").arg(sanitizeHtml(spectatorName)).arg(sanitizeHtml(message))); + appendMessage(spectatorName, message, QColor(), false); } void MessageLogWidget::logShuffle(Player *player, CardZone *zone) diff --git a/common/server_protocolhandler.cpp b/common/server_protocolhandler.cpp index d1df0177..4ec2a5c1 100644 --- a/common/server_protocolhandler.cpp +++ b/common/server_protocolhandler.cpp @@ -476,8 +476,8 @@ ResponseCode Server_ProtocolHandler::cmdCreateGame(Command_CreateGame *cmd, Comm gameTypes.append(gameTypeList[i]->getData()); QString description = cmd->getDescription(); - if (description.size() > 50) - description = description.left(50); + if (description.size() > 60) + description = description.left(60); Server_Game *game = room->createGame(description, cmd->getPassword(), cmd->getMaxPlayers(), gameTypes, cmd->getOnlyBuddies(), cmd->getOnlyRegistered(), cmd->getSpectatorsAllowed(), cmd->getSpectatorsNeedPassword(), cmd->getSpectatorsCanTalk(), cmd->getSpectatorsSeeEverything(), this); Server_Player *creator = game->getPlayers().values().first();