Fixed that update notification is not displayed with beta builds

This commit is contained in:
Birunthan Mohanathas 2012-06-26 15:45:05 +03:00
parent 18deccb36f
commit 957b05441c

View File

@ -68,7 +68,8 @@ void CheckVersion(void* dummy)
const WCHAR* version = tmpSz.c_str(); const WCHAR* version = tmpSz.c_str();
int availableVersion = parseVersion(version); int availableVersion = parseVersion(version);
if (availableVersion > RAINMETER_VERSION) if (availableVersion > RAINMETER_VERSION ||
(revision_beta && availableVersion == RAINMETER_VERSION))
{ {
Rainmeter->SetNewVersion(); Rainmeter->SetNewVersion();