Minor change.

This commit is contained in:
Birunthan Mohanathas 2011-10-23 10:41:32 +00:00
parent e166e34948
commit e8b9461541

View File

@ -1061,7 +1061,7 @@ int CRainmeter::Initialize(HWND hParent, HINSTANCE hInstance, LPCWSTR szPath)
if (RegQueryValueEx(hKey, L"Language", NULL, &type, (LPBYTE)tmpSzPath, (LPDWORD)&size) != ERROR_SUCCESS ||
type != REG_SZ)
{
tmpSzPath = L'\0';
tmpSzPath[0] = L'\0';
}
RegCloseKey(hKey);
}