Skip to content
Snippets Groups Projects
Commit 63737942 authored by Fabian Maurer's avatar Fabian Maurer Committed by Alexandre Julliard
Browse files

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: default avatarFabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent cee52d59
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment