mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[MPR] Fix copy paste error when converting hex char to int.
Wine Commit 63737942a06183f6b2e7fa8f95a07c918c9bf29b Original patch by Sergei Abramov. CORE-13863
This commit is contained in:
parent
a3af97df13
commit
7f4158fc64
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue