From c2cf60fcee4e10092cebeb40d41c3494bf0c7950 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 25 Jun 2007 19:55:29 +0200 Subject: [PATCH] crypt32: Fix incorrect usage of CharNextA. --- dlls/crypt32/str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/crypt32/str.c b/dlls/crypt32/str.c index a4e9e92141e..6d879c55da4 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); }