You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-25 15:37:42 +00:00
Replace NULL with nullptr
This commit is contained in:
@@ -49,7 +49,7 @@ void WindowsTerminalLogger::logv(const char *p_format, va_list p_list, bool p_er
|
||||
len = BUFFER_SIZE; // Output is too big, will be truncated
|
||||
buf[len] = 0;
|
||||
|
||||
int wlen = MultiByteToWideChar(CP_UTF8, 0, buf, len, NULL, 0);
|
||||
int wlen = MultiByteToWideChar(CP_UTF8, 0, buf, len, nullptr, 0);
|
||||
if (wlen < 0)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user