From a8dda05447b97ccf5875c16a13c27566ee9421b9 Mon Sep 17 00:00:00 2001 From: Brian Ferguson Date: Thu, 23 Aug 2012 10:20:45 -0600 Subject: [PATCH] Changed Registry measure to convert REG_SZ to a number (if applicable) --- Library/MeasureRegistry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/MeasureRegistry.cpp b/Library/MeasureRegistry.cpp index b61cbb16..ac8b18bf 100644 --- a/Library/MeasureRegistry.cpp +++ b/Library/MeasureRegistry.cpp @@ -71,7 +71,7 @@ void CMeasureRegistry::UpdateValue() case REG_SZ: case REG_EXPAND_SZ: case REG_MULTI_SZ: - m_Value = 0.0; + m_Value = wcstod(data, NULL); m_StringValue = data; break;