Changes to Rainstaller and RainThemes to support new version checking method.

Minor fix to a couple of typos in the version checking code
Changed "Update Available" to "New Version Available"
This commit is contained in:
jsmorley
2010-06-21 17:14:56 +00:00
parent 8785516c09
commit 8a47a191d7
7 changed files with 9 additions and 10 deletions

View File

@ -28,7 +28,7 @@ extern CRainmeter* Rainmeter;
void CheckVersion(void* dummy)
{
double version = 0.0;
int version = 0;
HINTERNET hRootHandle = InternetOpen(L"Rainmeter",
INTERNET_OPEN_TYPE_PRECONFIG,
@ -65,7 +65,6 @@ void CheckVersion(void* dummy)
version += atoi(verMinor1.c_str()) * 1000;
version += atoi(verMinor2.c_str());
}
else
{