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>
(cherry picked from commit 63737942a0
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
parent
26c739a4fe
commit
d2437cbdce
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue