Changed: Strings initialization

This commit is contained in:
kervala 2016-12-18 14:41:47 +01:00
parent e2f3e5ee89
commit 9032a98096
2 changed files with 2 additions and 2 deletions

View file

@ -159,7 +159,7 @@ void CEditableRange::OnUpdateValue()
void CEditableRange::emptyDialog(void) void CEditableRange::emptyDialog(void)
{ {
m_Value = CString(""); m_Value.Empty();
m_SliderPos = 0; m_SliderPos = 0;
UpdateData(FALSE); UpdateData(FALSE);
} }

View file

@ -249,7 +249,7 @@ void CStaticItem::init(bool doDelete)
CraftingToolType = TOOL_TYPE::Unknown; CraftingToolType = TOOL_TYPE::Unknown;
Origin = ITEM_ORIGIN::UNKNOWN; Origin = ITEM_ORIGIN::UNKNOWN;
Sack = std::string(""); Sack.clear();
Stackable = 1; Stackable = 1;
Color = -2; Color = -2;
SlotCount = 0; SlotCount = 0;