Skip to content

Commit

Permalink
Spacing in the hex dump makes it awfully pretty.
Browse files Browse the repository at this point in the history
  • Loading branch information
anholt committed Sep 24, 2007
1 parent 30407a6 commit 7757bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edid-decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,10 @@ static void print_subsection(char *name, unsigned char *edid, int start,
int i;

printf("%s:", name);
for (i = strlen(name); i < 16; i++)
for (i = strlen(name); i < 15; i++)
printf(" ");
for (i = start; i <= end; i++)
printf("%02x", edid[i]);
printf(" %02x", edid[i]);
printf("\n");
}

Expand Down

0 comments on commit 7757bc7

Please sign in to comment.