1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

[Windows] Fix missing argument in non-console logger call.

This commit is contained in:
Pāvels Nadtočajevs
2025-02-14 00:09:51 +02:00
parent 1a0bf54677
commit ae61b2f655

View File

@@ -81,7 +81,7 @@ void WindowsTerminalLogger::log_error(const char *p_function, const char *p_file
HANDLE hCon = GetStdHandle(STD_OUTPUT_HANDLE); HANDLE hCon = GetStdHandle(STD_OUTPUT_HANDLE);
if (OS::get_singleton()->get_stdout_type() != OS::STD_HANDLE_CONSOLE || !hCon || hCon == INVALID_HANDLE_VALUE) { if (OS::get_singleton()->get_stdout_type() != OS::STD_HANDLE_CONSOLE || !hCon || hCon == INVALID_HANDLE_VALUE) {
StdLogger::log_error(p_function, p_file, p_line, p_code, p_rationale, p_type); StdLogger::log_error(p_function, p_file, p_line, p_code, p_rationale, p_editor_notify, p_type);
} else { } else {
CONSOLE_SCREEN_BUFFER_INFO sbi; //original CONSOLE_SCREEN_BUFFER_INFO sbi; //original
GetConsoleScreenBufferInfo(hCon, &sbi); GetConsoleScreenBufferInfo(hCon, &sbi);