- Timestamp:
- Mar 30, 2017 9:49:14 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c
r66280 r66352 1196 1196 LSTATUS rc; 1197 1197 char szClsId[CURLY_UUID_STR_BUF_SIZE]; 1198 bool fQuoteIt = false;1199 1198 RT_NOREF(pszAppId); 1200 1199 … … 1229 1228 if (rc == ERROR_SUCCESS) 1230 1229 { 1230 bool const fIsLocalServer32 = strcmp(pszServerType, "LocalServer32") == 0; 1231 1231 HKEY hkeyServerType; 1232 1232 char szCurClassNameVer[128]; … … 1238 1238 RTUTF16 wszModule[MAX_PATH * 2]; 1239 1239 PRTUTF16 pwszCur = wszModule; 1240 fQuoteIt = strcmp(pszServerType, "LocalServer32") == 0; 1241 if (fQuoteIt) 1240 if (fIsLocalServer32) 1242 1241 *pwszCur++ = '"'; 1243 1242 … … 1247 1246 pwszCur += RTUtf16Len(pwszCur); 1248 1247 1249 if (f QuoteIt)1248 if (fIsLocalServer32) 1250 1249 *pwszCur++ = '"'; 1251 1250 *pwszCur++ = '\0'; /* included, so ++. */ … … 1283 1282 1284 1283 /* AppID = pszAppId */ 1285 if (pszAppId && f QuoteIt)1284 if (pszAppId && fIsLocalServer32) 1286 1285 vbpsSetRegValueAA(pState, hkeyClass, "AppID", pszAppId, __LINE__); 1287 1286 … … 1317 1316 &LIBID_VirtualBox, "LocalServer32", pwszVBoxDir, pszWindowsService, NULL /*N/A*/); 1318 1317 } 1319 #endif 1318 #endif /* VBOX_WITH_SDS */ 1319 1320 1320 1321 1321 /**
Note:
See TracChangeset
for help on using the changeset viewer.