Do not copy time to wrapped lines
This commit is contained in:
		
							parent
							
								
									d7fdc5d36b
								
							
						
					
					
						commit
						609c9bd0ac
					
				
							
								
								
									
										2
									
								
								buffer.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								buffer.c
									
									
									
									
									
								
							@ -178,7 +178,7 @@ static int flow(struct Lines *hard, int cols, const struct Line *soft) {
 | 
				
			|||||||
		flowed++;
 | 
							flowed++;
 | 
				
			||||||
		line = linesNext(hard);
 | 
							line = linesNext(hard);
 | 
				
			||||||
		line->heat = soft->heat;
 | 
							line->heat = soft->heat;
 | 
				
			||||||
		line->time = soft->time;
 | 
							line->time = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		size_t cap = StyleCap + align + strlen(&wrap[n]) + 1;
 | 
							size_t cap = StyleCap + align + strlen(&wrap[n]) + 1;
 | 
				
			||||||
		line->str = malloc(cap);
 | 
							line->str = malloc(cap);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user