Fix by MattKing for numbers being truncated to 0 decimals issue in http://rainmeter.net/forum/viewtopic.php?f=14&t=5432

This commit is contained in:
jsmorley 2010-09-14 17:08:25 +00:00
parent 2cb88b0733
commit cd074cd44d
3 changed files with 6 additions and 6 deletions

View File

@ -28,8 +28,8 @@ LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,3,0,530
PRODUCTVERSION 1,3,0,530
FILEVERSION 1,3,0,537
PRODUCTVERSION 1,3,0,537
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -45,12 +45,12 @@ BEGIN
BLOCK "040b04b0"
BEGIN
VALUE "FileDescription", "Rainmeter - A Customizable Resource Meter"
VALUE "FileVersion", "1, 3, 0, 530"
VALUE "FileVersion", "1, 3, 0, 537"
VALUE "InternalName", "Rainmeter"
VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy"
VALUE "OriginalFilename", "Rainmeter.exe"
VALUE "ProductName", "Rainmeter"
VALUE "ProductVersion", "1, 3, 0, 530"
VALUE "ProductVersion", "1, 3, 0, 537"
END
END
BLOCK "VarFileInfo"

View File

@ -2619,7 +2619,7 @@ std::wstring CRainmeter::ParseCommand(const WCHAR* command, CMeterWindow* meterW
{
if (wcsicmp((*iter)->GetName(), measureName.c_str()) == 0)
{
std::wstring value = (*iter)->GetStringValue(false, 1, 0, false);
std::wstring value = (*iter)->GetStringValue(false, 1, 5, false);
strCommand.replace(start, (end - start) + 1, value);
start += value.length();
break;

View File

@ -1,3 +1,3 @@
#pragma once
const int revision_number = 530;
const int revision_number = 537;
const bool revision_beta = true;