[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:
Robert Naumann 2021-09-08 18:59:08 +02:00
parent a3af97df13
commit 7f4158fc64

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;
}