mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[RAPPS] Fix Installed Apps information display (#4973)
This fixes hyperlinks highlighting the text before it. CORE-18397
This commit is contained in:
parent
5ad5737370
commit
3b5d917699
1 changed files with 2 additions and 2 deletions
|
@ -148,7 +148,7 @@ BOOL CInstalledApplicationInfo::GetApplicationRegString(LPCWSTR lpKeyName, ATL::
|
|||
|
||||
dwSize = min(dwAllocated, dwSize);
|
||||
// CString takes care of zero-terminating it
|
||||
String.ReleaseBuffer(dwSize / sizeof(WCHAR));
|
||||
String.ReleaseBuffer();
|
||||
|
||||
if (Result != ERROR_SUCCESS)
|
||||
{
|
||||
|
@ -164,7 +164,7 @@ BOOL CInstalledApplicationInfo::GetApplicationRegString(LPCWSTR lpKeyName, ATL::
|
|||
if (dwLen > 0)
|
||||
{
|
||||
BOOL bSuccess = ExpandEnvironmentStringsW(String, Tmp.GetBuffer(dwLen), dwLen) == dwLen;
|
||||
Tmp.ReleaseBuffer(dwLen - 1);
|
||||
Tmp.ReleaseBuffer();
|
||||
if (bSuccess)
|
||||
{
|
||||
String = Tmp;
|
||||
|
|
Loading…
Reference in a new issue