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

Spotted by Robert Naumann.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51728
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Fabian Maurer 2021-09-07 20:03:09 +02:00 committed by Alexandre Julliard
parent cee52d5988
commit 63737942a0
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ static inline signed char ctox( CHAR x )
return x - '0';
if( ( x >= 'A' ) && ( x <= 'F' ) )
return x - 'A' + 10;
if( ( x >= 'a' ) && ( x <= 'a' ) )
if( ( x >= 'a' ) && ( x <= 'f' ) )
return x - 'a' + 10;
return -1;
}