From ce3216429ee0f695a7529460c7c31e72f04b6533 Mon Sep 17 00:00:00 2001 From: ZuBsPaCe Date: Thu, 19 Nov 2015 15:35:18 +0100 Subject: [PATCH] Added missing \n in script error output. --- platform/windows/os_windows.cpp | 2 +- platform/winrt/os_winrt.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }