appwiz.cpl: Do not overwrite application IDs when changing registry keys.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2016-12-21 12:19:58 +00:00 committed by Alexandre Julliard
parent cf51752d5f
commit c03ea1971b
1 changed files with 2 additions and 1 deletions

View File

@ -152,7 +152,8 @@ static void FreeAppInfo(APPINFO *info)
static BOOL ReadApplicationsFromRegistry(HKEY root)
{
HKEY hkeyApp;
int i, id = 0;
int i;
static int id = 0;
DWORD sizeOfSubKeyName, displen, uninstlen;
DWORD dwNoModify, dwType, value, size;
WCHAR subKeyName[256];