Fix code copy start range, closes #720

dev-time-step
krzys-h 2016-02-14 19:07:03 +01:00
parent 05515d225a
commit 84e0220ea6
1 changed files with 4 additions and 1 deletions

View File

@ -1902,7 +1902,10 @@ void CEdit::GetIndentedText(std::ostream& stream, unsigned int start, unsigned i
line++;
}
stream << m_text[i];
if (i >= start)
{
stream << m_text[i];
}
i ++;
}