minor move_forward cleanup (\0 terminator not used)
This commit is contained in:
		
							parent
							
								
									8f3c799b01
								
							
						
					
					
						commit
						a6abd786cf
					
				| @ -273,7 +273,7 @@ static void move_forward(VteTerminal *vte, select_info *select, F is_word) { | |||||||
| 
 | 
 | ||||||
|     // prevent going past the end (get_text_range adds a \n)
 |     // prevent going past the end (get_text_range adds a \n)
 | ||||||
|     if (codepoints[length - 1] == '\n') { |     if (codepoints[length - 1] == '\n') { | ||||||
|         codepoints[--length] = 0; |         length--; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     bool end_of_word = false; |     bool end_of_word = false; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel Micay
						Daniel Micay