mirror of https://github.com/stella-emu/stella.git
Merge branch 'master' of https://github.com/stella-emu/stella
This commit is contained in:
commit
77bd416735
|
@ -361,7 +361,7 @@ void FrameBuffer::showMessage(const string& message, MessagePosition position,
|
|||
bool force)
|
||||
{
|
||||
// Only show messages if they've been enabled
|
||||
if(myMsg.surface == NULL || !(force || myOSystem.settings().getBool("uimessages")))
|
||||
if(myMsg.surface == nullptr || !(force || myOSystem.settings().getBool("uimessages")))
|
||||
return;
|
||||
|
||||
// Precompute the message coordinates
|
||||
|
|
Loading…
Reference in New Issue