Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 24756 → Rev 24757

/branches/Version14x/Scribus/scribus/util_ghostscript.cpp
372,7 → 372,7
 
if (RegOpenKeyExW(HKEY_LOCAL_MACHINE, (LPCWSTR) regKey.utf16(), 0, flags, &hKey1) == ERROR_SUCCESS)
{
regVersionSize = sizeof(regVersion) / sizeof(WCHAR) - 1;
regVersionSize = sizeof(regVersion) / sizeof(WCHAR);
DWORD keyIndex = 0;
while (RegEnumKeyExW(hKey1, keyIndex, regVersion, &regVersionSize, NULL, NULL, NULL, NULL) == ERROR_SUCCESS)
{
403,6 → 403,7
}
RegCloseKey(hKey2);
}
regVersionSize = sizeof(regVersion) / sizeof(WCHAR);
keyIndex++;
}
RegCloseKey(hKey1);