mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user