Module: wine Branch: master Commit: c2cf60fcee4e10092cebeb40d41c3494bf0c7950 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c2cf60fcee4e10092cebeb40d4... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jun 25 19:55:29 2007 +0200 crypt32: Fix incorrect usage of CharNextA. --- dlls/crypt32/str.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/crypt32/str.c b/dlls/crypt32/str.c index a4e9e92..6d879c5 100644 --- a/dlls/crypt32/str.c +++ b/dlls/crypt32/str.c @@ -447,7 +447,7 @@ BOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType, LPCSTR pszX500, *ppszError = pszX500; for (i = 0; i < errorStr - x500; i++) - CharNextA(*ppszError); + *ppszError = CharNextA(*ppszError); } CryptMemFree(x500); }