https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7f4158fc64e51b2db251f…
commit 7f4158fc64e51b2db251fe5418a9670516886961
Author: Robert Naumann <gonzomdx(a)gmail.com>
AuthorDate: Wed Sep 8 18:59:08 2021 +0200
Commit: Robert Naumann <gonzomdx(a)gmail.com>
CommitDate: Wed Sep 8 18:59:08 2021 +0200
[MPR] Fix copy paste error when converting hex char to int.
Wine Commit 63737942a06183f6b2e7fa8f95a07c918c9bf29b
Original patch by Sergei Abramov. CORE-13863
---
dll/win32/mpr/pwcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/mpr/pwcache.c b/dll/win32/mpr/pwcache.c
index aa09522a5f9..f330a2a000a 100644
--- a/dll/win32/mpr/pwcache.c
+++ b/dll/win32/mpr/pwcache.c
@@ -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;
}