Commit 63737942 authored by Fabian Maurer's avatar Fabian Maurer Committed by Alexandre Julliard

mpr: Fix copy paste error when converting hex char to int.

parent cee52d59
...@@ -45,7 +45,7 @@ static inline signed char ctox( CHAR x ) ...@@ -45,7 +45,7 @@ static inline signed char ctox( CHAR x )
return x - '0'; return x - '0';
if( ( x >= 'A' ) && ( x <= 'F' ) ) if( ( x >= 'A' ) && ( x <= 'F' ) )
return x - 'A' + 10; return x - 'A' + 10;
if( ( x >= 'a' ) && ( x <= 'a' ) ) if( ( x >= 'a' ) && ( x <= 'f' ) )
return x - 'a' + 10; return x - 'a' + 10;
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