Skip to content

Commit

Permalink
Changed Registry measure to convert REG_SZ to a number (if applicable)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianferguson committed Aug 23, 2012
1 parent d2f2752 commit a8dda05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/MeasureRegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a8dda05

Please sign in to comment.