Skip to content

Commit

Permalink
fixup! readtags: Add support for escape sequences in tag names
Browse files Browse the repository at this point in the history
  • Loading branch information
b4n committed Nov 29, 2017
1 parent cd6c100 commit 2b51abe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions read/readtags.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ static int xdigitValue (char digit)
if (digit >= '0' && digit <= '9')
return digit - '0';
else if (digit >= 'a' && digit <= 'f')
return 16 + digit - 'a';
return 10 + digit - 'a';
else if (digit >= 'A' && digit <= 'F')
return 16 + digit - 'A';
return 10 + digit - 'A';
else
return 0;
}
Expand Down

0 comments on commit 2b51abe

Please sign in to comment.