From cd074cd44ddb74730a9584befe3a49f0ea5714b5 Mon Sep 17 00:00:00 2001 From: jsmorley Date: Tue, 14 Sep 2010 17:08:25 +0000 Subject: [PATCH] Fix by MattKing for numbers being truncated to 0 decimals issue in http://rainmeter.net/forum/viewtopic.php?f=14&t=5432 --- Application/Application.rc | 8 ++++---- Library/Rainmeter.cpp | 2 +- revision-number.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Application/Application.rc b/Application/Application.rc index 5c3065b0..394bb678 100644 --- a/Application/Application.rc +++ b/Application/Application.rc @@ -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" diff --git a/Library/Rainmeter.cpp b/Library/Rainmeter.cpp index 0528eb23..8122dd6a 100644 --- a/Library/Rainmeter.cpp +++ b/Library/Rainmeter.cpp @@ -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; diff --git a/revision-number.h b/revision-number.h index 611d1392..f66e3fd5 100644 --- a/revision-number.h +++ b/revision-number.h @@ -1,3 +1,3 @@ #pragma once -const int revision_number = 530; +const int revision_number = 537; const bool revision_beta = true; \ No newline at end of file