فهرست منبع

Added missing \n in script error output.

ZuBsPaCe 9 سال پیش
والد
کامیت
ce3216429e
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      platform/windows/os_windows.cpp
  2. 1 1
      platform/winrt/os_winrt.cpp

+ 1 - 1
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;
 		}

+ 1 - 1
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;
 	}