mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 11:29:24 +01:00
Don't display empty messages
This commit is contained in:
parent
89955d1517
commit
9b4b1dfe94
@ -190,7 +190,7 @@ void C64::network_vblank()
|
|||||||
this->TheDisplay->Update(remote->GetScreen());
|
this->TheDisplay->Update(remote->GetScreen());
|
||||||
}
|
}
|
||||||
const char *msg = TheDisplay->GetTextMessage();
|
const char *msg = TheDisplay->GetTextMessage();
|
||||||
if (msg)
|
if (msg && strlen(msg) > 0)
|
||||||
remote->EncodeTextMessage(msg, TheDisplay->text_message_broadcast);
|
remote->EncodeTextMessage(msg, TheDisplay->text_message_broadcast);
|
||||||
free((void *)msg);
|
free((void *)msg);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user