aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/edid.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/edid.c b/src/lib/edid.c
index e2f213c5b0..3b81b5c30a 100644
--- a/src/lib/edid.c
+++ b/src/lib/edid.c
@@ -1207,14 +1207,16 @@ int decode_edid(unsigned char *edid, int size, struct edid *out)
switch (edid[0x13]) {
case 4:
c.claims_one_point_four = 1;
+ /* fall through */
case 3:
c.claims_one_point_three = 1;
+ /* fall through */
case 2:
c.claims_one_point_two = 1;
+ /* fall through */
default:
- break;
+ c.claims_one_point_oh = 1;
}
- c.claims_one_point_oh = 1;
}
/* display section */