mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Style nits - return (x) not return x.
This commit is contained in:
		
							
								
								
									
										6
									
								
								cmd.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								cmd.c
									
									
									
									
									
								
							@@ -378,14 +378,14 @@ cmd_session_better(struct session *s, struct session *best,
 | 
			
		||||
    int prefer_unattached)
 | 
			
		||||
{
 | 
			
		||||
	if (best == NULL)
 | 
			
		||||
		return 1;
 | 
			
		||||
		return (1);
 | 
			
		||||
	if (prefer_unattached) {
 | 
			
		||||
		if (!(best->flags & SESSION_UNATTACHED) &&
 | 
			
		||||
		    (s->flags & SESSION_UNATTACHED))
 | 
			
		||||
			return 1;
 | 
			
		||||
			return (1);
 | 
			
		||||
		else if ((best->flags & SESSION_UNATTACHED) &&
 | 
			
		||||
		    !(s->flags & SESSION_UNATTACHED))
 | 
			
		||||
			return 0;
 | 
			
		||||
			return (0);
 | 
			
		||||
	}
 | 
			
		||||
	return (timercmp(&s->activity_time, &best->activity_time, >));
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user