Fix minor warning (nullptr is the proper C++ constant).

This commit is contained in:
Stephen Anthony 2018-05-27 16:17:12 -02:30
parent f726ad0206
commit cc4bd29a03
1 changed files with 1 additions and 1 deletions

View File

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