diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index f32aeb8618b..1fb8e6dbd05 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -1786,7 +1786,7 @@ void OS_Windows::print_error(const char* p_function, const char* p_file, int p_l print(" At: %s:%i\n", p_file, p_line); break; case ERR_SCRIPT: - print("SCRIPT ERROR: %s: %s", p_function, err_details); + print("SCRIPT ERROR: %s: %s\n", p_function, err_details); print(" At: %s:%i\n", p_file, p_line); break; } diff --git a/platform/winrt/os_winrt.cpp b/platform/winrt/os_winrt.cpp index ef893d7150c..24be2f47e77 100644 --- a/platform/winrt/os_winrt.cpp +++ b/platform/winrt/os_winrt.cpp @@ -441,7 +441,7 @@ void OSWinrt::print_error(const char* p_function, const char* p_file, int p_line print(" At: %s:%i\n", p_file, p_line); break; case ERR_SCRIPT: - print("SCRIPT ERROR: %s: %s", p_function, err_details); + print("SCRIPT ERROR: %s: %s\n", p_function, err_details); print(" At: %s:%i\n", p_file, p_line); break; }