Fixed SIGABRT in case of empty text in "DrawMessage"

This commit is contained in:
louis 2014-11-11 20:19:19 +01:00 committed by Manuel Reimer
parent 60cf545efa
commit 7762e99dd0

View File

@ -352,6 +352,7 @@ void cDisplayReplayView::DrawJump(const char *jump) {
void cDisplayReplayView::DrawMessage(eMessageType type, const char *text) {
if (!text) {
ClearViewElement(veMessage);
return;
}
map < string, string > stringTokens;