Added missing \n in script error output.

This commit is contained in:
ZuBsPaCe 2015-11-19 15:35:18 +01:00
parent a5683def19
commit ce3216429e
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;
}