video: cfb_console: simplify logical constraint
(A || !A && B) == (A || B) Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
		
							parent
							
								
									b8aa55cb64
								
							
						
					
					
						commit
						41ec127016
					
				|  | @ -768,7 +768,7 @@ static void parse_putc(const char c) | |||
| 		break; | ||||
| 
 | ||||
| 	case '\n':		/* next line */ | ||||
| 		if (console_col || (!console_col && nl)) | ||||
| 		if (console_col || nl) | ||||
| 			console_newline(1); | ||||
| 		nl = 1; | ||||
| 		break; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue