Bläddra i källkod

Change output format for milliseconds in timestamps to 3 zeroes

Fixes #102527
Esther Dalhuisen 8 månader sedan
förälder
incheckning
109e2b3b5f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      editor/debugger/script_editor_debugger.cpp

+ 1 - 1
editor/debugger/script_editor_debugger.cpp

@@ -543,7 +543,7 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, uint64_t p_thread
 		time_vals.push_back(oe.sec);
 		time_vals.push_back(oe.sec);
 		time_vals.push_back(oe.msec);
 		time_vals.push_back(oe.msec);
 		bool e;
 		bool e;
-		String time = String("%d:%02d:%02d:%04d").sprintf(time_vals, &e);
+		String time = String("%d:%02d:%02d:%03d").sprintf(time_vals, &e);
 
 
 		// Rest of the error data.
 		// Rest of the error data.
 		bool source_is_project_file = oe.source_file.begins_with("res://");
 		bool source_is_project_file = oe.source_file.begins_with("res://");