setupapi: Restore close brace before using guid string as reg key.

This commit is contained in:
Aric Stewart 2015-05-01 07:58:37 -05:00 committed by Alexandre Julliard
parent e7a405ad9e
commit a3487ad316
1 changed files with 2 additions and 0 deletions

View File

@ -2132,6 +2132,8 @@ static void SETUPDI_EnumerateInterfaces(HDEVINFO DeviceInfoSet,
interfaceGuidStr[37] = 0;
UuidFromStringW(&interfaceGuidStr[1], &interfaceGuid);
interfaceGuidStr[37] = '}';
interfaceGuidStr[38] = 0;
l = RegOpenKeyExW(interfacesKey, interfaceGuidStr, 0,
KEY_READ, &interfaceKey);
if (!l)