Skip to content

Commit

Permalink
edid-decode: accept EDID_DATA: or EDID:
Browse files Browse the repository at this point in the history
  • Loading branch information
airlied committed Dec 10, 2010
1 parent 26c03c8 commit 95019a3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion edid-decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -676,8 +676,11 @@ extract_edid(int fd)
ret = realloc(ret, size + 1024);
}

start = strstr(ret, "EDID_DATA:");
if (start == NULL)
start = strstr(ret, "EDID:");
/* Look for xrandr --verbose output (8 lines of 16 hex bytes) */
if ((start = strstr(ret, "EDID_DATA:")) != NULL) {
if (start != NULL) {
const char indentation1[] = " ";
const char indentation2[] = "\t\t";
const char *indentation;
Expand Down

0 comments on commit 95019a3

Please sign in to comment.