Permalink
Browse files

Changed Registry measure to convert REG_SZ to a number (if applicable)

  • Loading branch information...
brianferguson committed Aug 23, 2012
1 parent d2f2752 commit a8dda05447b97ccf5875c16a13c27566ee9421b9
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit a8dda05

Please sign in to comment.