charset.c:

  Typo fix.
  Thanks Vladimir Kolpakov who noticed it.
parent da835a0a
...@@ -158,7 +158,7 @@ static int ch2x(int ch) ...@@ -158,7 +158,7 @@ static int ch2x(int ch)
if (ch >= 'a' && ch <= 'f') if (ch >= 'a' && ch <= 'f')
return 10 + ch - 'a'; return 10 + ch - 'a';
if (ch >= 'A' && ch <= 'Z') if (ch >= 'A' && ch <= 'F')
return 10 + ch - 'A'; return 10 + ch - 'A';
return -1; return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment