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 VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,3,0,530 FILEVERSION 1,3,0,537
PRODUCTVERSION 1,3,0,530 PRODUCTVERSION 1,3,0,537
FILEFLAGSMASK 0x17L FILEFLAGSMASK 0x17L
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -45,12 +45,12 @@ BEGIN
BLOCK "040b04b0" BLOCK "040b04b0"
BEGIN BEGIN
VALUE "FileDescription", "Rainmeter - A Customizable Resource Meter" VALUE "FileDescription", "Rainmeter - A Customizable Resource Meter"
VALUE "FileVersion", "1, 3, 0, 530" VALUE "FileVersion", "1, 3, 0, 537"
VALUE "InternalName", "Rainmeter" VALUE "InternalName", "Rainmeter"
VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy" VALUE "LegalCopyright", "Copyright (C) 2010 - Rainy"
VALUE "OriginalFilename", "Rainmeter.exe" VALUE "OriginalFilename", "Rainmeter.exe"
VALUE "ProductName", "Rainmeter" VALUE "ProductName", "Rainmeter"
VALUE "ProductVersion", "1, 3, 0, 530" VALUE "ProductVersion", "1, 3, 0, 537"
END END
END END
BLOCK "VarFileInfo" 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) 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); strCommand.replace(start, (end - start) + 1, value);
start += value.length(); start += value.length();
break; break;

View File

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