selextend: clarify: !sel.mode == SEL_IDLE
This commit is contained in:
		
							
								
								
									
										2
									
								
								st.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								st.c
									
									
									
									
									
								
							@ -461,7 +461,7 @@ selextend(int col, int row, int type, int done)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	int oldey, oldex, oldsby, oldsey, oldtype;
 | 
						int oldey, oldex, oldsby, oldsey, oldtype;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (!sel.mode)
 | 
						if (sel.mode == SEL_IDLE)
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
	if (done && sel.mode == SEL_EMPTY) {
 | 
						if (done && sel.mode == SEL_EMPTY) {
 | 
				
			||||||
		selclear();
 | 
							selclear();
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user