d'oh, forgot to add 10 for a-f and A-F

This commit is contained in:
Bill Currie 2001-06-19 22:13:35 +00:00
parent 560b475880
commit f50ce04ccb

View file

@ -203,9 +203,9 @@ PR_LexString (void)
if (*pr_file_p <= 9)
c += *pr_file_p - '0';
else if (*pr_file_p <= 'F')
c += *pr_file_p - 'A';
c += *pr_file_p - 'A' + 10;
else
c += *pr_file_p - 'a';
c += *pr_file_p - 'a' + 10;
pr_file_p++;
}
if (!*pr_file_p)