Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Code format question: do we need to indent the while block?
(1/1)
ollydbg:
--- Code: --- if (buffer.find(_T("$if")) != wxString::npos)
while (m_RE_If.Matches(buffer))
{
search = m_RE_If.GetMatch(buffer, 0);
replace = EvalCondition(m_RE_If.GetMatch(buffer, 1), m_RE_If.GetMatch(buffer, 3), m_RE_If.GetMatch(buffer, 5), target);
buffer.Replace(search, replace, false);
}
--- End code ---
should be:
--- Code: --- if (buffer.find(_T("$if")) != wxString::npos)
while (m_RE_If.Matches(buffer))
{
search = m_RE_If.GetMatch(buffer, 0);
replace = EvalCondition(m_RE_If.GetMatch(buffer, 1), m_RE_If.GetMatch(buffer, 3), m_RE_If.GetMatch(buffer, 5), target);
buffer.Replace(search, replace, false);
}
--- End code ---
oBFusCATed:
Yes, of course :)
Folco:
Same as obfuscated ! :)
ollydbg:
Fix in trunk At revision: 8975. Thanks all.
Folco:
Thank you !
Navigation
[0] Message Index
Go to full version