Author: mjansen Date: Wed Jul 13 18:10:37 2016 New Revision: 71932 URL: http://svn.reactos.org/svn/reactos?rev=71932&view=rev Log: [ACLAYER] Use the return of StringCbPrintfW instead of ignoring it. CID 1363460-63, 65-70, 76, 78, 85, 88, 90
Modified: trunk/reactos/dll/appcompat/shims/layer/versionlie.inl Modified: trunk/reactos/dll/appcompat/shims/layer/versionlie.inl URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/appcompat/shims/layer/versionlie.inl?rev=71932&r1=71931&r2=71932&view=diff ============================================================================== --- trunk/reactos/dll/appcompat/shims/layer/versionlie.inl [iso-8859-1] (original) +++ trunk/reactos/dll/appcompat/shims/layer/versionlie.inl [iso-8859-1] Wed Jul 13 18:10:37 2016 @@ -52,7 +52,7 @@ "Service Pack %u", VERSION_INFO.wServicePackMajor); if (FAILED(hr)) return FALSE; - StringCbPrintfW(VERSION_INFO.szCSDVersionW, sizeof(VERSION_INFO.szCSDVersionW), + hr = StringCbPrintfW(VERSION_INFO.szCSDVersionW, sizeof(VERSION_INFO.szCSDVersionW), szServicePack, VERSION_INFO.wServicePackMajor); if (FAILED(hr)) return FALSE;