summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/windows/os_windows.cpp2
-rw-r--r--platform/winrt/os_winrt.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index f32aeb8618..1fb8e6dbd0 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 ef893d7150..24be2f47e7 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;
}