diff mbox series

[06/11] edid-decode: linefeed before fail

Message ID 20210914121129.51451-7-joevt@shaw.ca (mailing list archive)
State New, archived
Headers show
Series edid-decode: bug fixes, additions, changes | expand

Commit Message

joevt Sept. 14, 2021, 12:11 p.m. UTC
Always output linefeed before fail message. See example dell-up2715k-dp1-optomedia-cmv535.

Signed-off-by: Joe van Tunen <joevt@shaw.ca>
---
 parse-base-block.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/parse-base-block.cpp b/parse-base-block.cpp
index 32d2079..5840fd8 100644
--- a/parse-base-block.cpp
+++ b/parse-base-block.cpp
@@ -700,9 +700,9 @@  void edid_state::detailed_display_range_limits(const unsigned char *x)
 		base.max_display_pixclk_khz = x[9] * 10000;
 		printf(", max dotclock %d MHz\n", x[9] * 10);
 	} else {
+		printf("\n");
 		if (base.edid_minor >= 4)
 			fail("EDID 1.4 block does not set max dotclock.\n");
-		printf("\n");
 	}
 
 	if (has_sec_gtf) {