mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 18:25:16 +01:00
Use nullptr instead of NULL in C++
This commit is contained in:
@@ -40,7 +40,7 @@ uint32 utf8_get_next(const utf8 *char_ptr, const utf8 **nextchar_ptr)
|
||||
numBytes = 1;
|
||||
}
|
||||
|
||||
if (nextchar_ptr != NULL)
|
||||
if (nextchar_ptr != nullptr)
|
||||
*nextchar_ptr = char_ptr + numBytes;
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user