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)
{
m_Value = CString("");
m_Value.Empty();
m_SliderPos = 0;
UpdateData(FALSE);
}

View file

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