summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorZuBsPaCe <kurt.rudin@gmx.net>2015-11-19 15:35:18 +0100
committerZuBsPaCe <kurt.rudin@gmx.net>2015-11-19 15:35:18 +0100
commitce3216429ee0f695a7529460c7c31e72f04b6533 (patch)
treec622d4e2b9349f2e79685540bb30b225ae1d943f /platform
parenta5683def19aaca49d0624dd9d5528fee3b96267d (diff)
Added missing \n in script error output.
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;
}