Fix error unescaping uppercase hex digits

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22832 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-04-27 09:49:13 +00:00
parent aa58e8c4ca
commit fbad4fe85f
2 changed files with 6 additions and 2 deletions

View file

@ -410,7 +410,7 @@ static void unescape(const char *from, char * to)
{
c = *from - '0';
}
else if (*from <= 'A')
else if (*from <= 'F')
{
c = *from - 'A' + 10;
}
@ -433,7 +433,7 @@ static void unescape(const char *from, char * to)
{
c |= *from - '0';
}
else if (*from <= 'A')
else if (*from <= 'F')
{
c |= *from - 'A' + 10;
}