Changed: Strings initialization

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent cbf407f9a1
commit a0b4bb2397

@ -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);
} }

@ -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;

Loading…
Cancel
Save