Changed: Strings initialization
This commit is contained in:
parent
e2f3e5ee89
commit
9032a98096
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue