diff options
author | ZuBsPaCe <kurt.rudin@gmx.net> | 2015-11-19 14:36:31 +0100 |
---|---|---|
committer | ZuBsPaCe <kurt.rudin@gmx.net> | 2015-11-19 15:19:25 +0100 |
commit | a5683def19aaca49d0624dd9d5528fee3b96267d (patch) | |
tree | 90de15d35d9cdb745cfea9799bb3cbc9fb538a30 /platform/winrt | |
parent | 42beb83178f923f8dcaeb30ab8592c8540435c3c (diff) |
Nice error output padding. Code location behind " At: " is now aligned with the error message above. Also removed the dot after the file location.
Diffstat (limited to 'platform/winrt')
-rw-r--r-- | platform/winrt/os_winrt.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/winrt/os_winrt.cpp b/platform/winrt/os_winrt.cpp index adaf722786..ef893d7150 100644 --- a/platform/winrt/os_winrt.cpp +++ b/platform/winrt/os_winrt.cpp @@ -434,15 +434,15 @@ void OSWinrt::print_error(const char* p_function, const char* p_file, int p_line switch(p_type) { case ERR_ERROR: print("ERROR: %s: %s\n", p_function, err_details); - print(" At: %s:%i.\n", p_file, p_line); + print(" At: %s:%i\n", p_file, p_line); break; case ERR_WARNING: print("WARNING: %s: %s\n", p_function, err_details); - print(" At: %s:%i.\n", p_file, 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(" At: %s:%i.\n", p_file, p_line); + print(" At: %s:%i\n", p_file, p_line); break; } } |