Skip to content

Commit

Permalink
Review code style
Browse files Browse the repository at this point in the history
  • Loading branch information
cinience committed Dec 21, 2014
1 parent 4b269fa commit cc78537
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions RedisStudio/ConnInfoSubWhd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ConnInfoSubWhd::ConnInfoSubWhd(TDicTables* pDic, bool &needApply, OperatorType t
m_pdicServerInfo = pDic;
m_celIdx = celIdx;
m_type = type;
m_needApply = &needApply;
m_needApply = &needApply;
}

ConnInfoSubWhd::~ConnInfoSubWhd(void)
Expand Down Expand Up @@ -46,7 +46,7 @@ void ConnInfoSubWhd::InitWindow()
pLabelAdd->SetVisible(false);
pLabelAlt->SetVisible(true);
}
*m_needApply = false;
*m_needApply = false;
}


Expand Down Expand Up @@ -109,14 +109,14 @@ void ConnInfoSubWhd::OnClick( TNotifyUI& msg )
retVal = OnAltInfo();
}
if (retVal)
{
*m_needApply = true;
}
else
{
*m_needApply = false;
}
Close();
{
*m_needApply = true;
}
else
{
*m_needApply = false;
}
Close();
}
}

Expand Down Expand Up @@ -176,7 +176,7 @@ bool ConnInfoSubWhd::OnAltInfo()
{
std::string name = Base::CharacterSet::UnicodeToANSI(m_pEditName->GetText().GetData());

/// ×ÔśŻČĽłýżŐ¸ń
/// ×ÔśŻČĽłýżŐ¸ń
CDuiString ipStr = m_pEditHost->GetText();
ipStr.Replace(_T(" "), _T(""));
std::string ip = Base::CharacterSet::UnicodeToANSI(ipStr.GetData());
Expand Down

0 comments on commit cc78537

Please sign in to comment.