mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	Merge pull request #29306 from qarmin/small_code_fixes
Small fixes to unrechable code, possibly overflows, using NULL pointers
This commit is contained in:
		
						commit
						971b5160c6
					
				
					 18 changed files with 48 additions and 70 deletions
				
			
		|  | @ -930,7 +930,7 @@ void CodeTextEditor::convert_case(CaseStyle p_case) { | |||
| 	for (int i = begin; i <= end; i++) { | ||||
| 		int len = text_editor->get_line(i).length(); | ||||
| 		if (i == end) | ||||
| 			len -= len - end_col; | ||||
| 			len = end_col; | ||||
| 		if (i == begin) | ||||
| 			len -= begin_col; | ||||
| 		String new_line = text_editor->get_line(i).substr(i == begin ? begin_col : 0, len); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Rémi Verschelde
						Rémi Verschelde