Remove one indentation level in getsel().
This commit is contained in:
		
				
					committed by
					
						 Roberto E. Vargas Caballero
						Roberto E. Vargas Caballero
					
				
			
			
				
	
			
			
			
						parent
						
							6681af165b
						
					
				
				
					commit
					74962bf566
				
			
							
								
								
									
										7
									
								
								st.c
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								st.c
									
									
									
									
									
								
							| @@ -922,9 +922,9 @@ getsel(void) { | |||||||
| 	int x, y, bufsize, size, i, ex; | 	int x, y, bufsize, size, i, ex; | ||||||
| 	Glyph *gp, *last; | 	Glyph *gp, *last; | ||||||
|  |  | ||||||
| 	if(sel.ob.x == -1) { | 	if(sel.ob.x == -1) | ||||||
| 		str = NULL; | 		return NULL; | ||||||
| 	} else { |  | ||||||
| 	bufsize = (term.col+1) * (sel.ne.y-sel.nb.y+1) * UTF_SIZ; | 	bufsize = (term.col+1) * (sel.ne.y-sel.nb.y+1) * UTF_SIZ; | ||||||
| 	ptr = str = xmalloc(bufsize); | 	ptr = str = xmalloc(bufsize); | ||||||
|  |  | ||||||
| @@ -975,7 +975,6 @@ getsel(void) { | |||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 	*ptr = 0; | 	*ptr = 0; | ||||||
| 	} |  | ||||||
| 	return str; | 	return str; | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user