Changed: Strings initialization

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-18 14:41:47 +01:00
parent cbf407f9a1
commit a0b4bb2397
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;