Build fixed

This commit is contained in:
Nekotekina 2016-01-15 17:30:09 +03:00 committed by Raul Tambre
parent bbe00f6505
commit 702193a6c7
4 changed files with 11 additions and 7 deletions

View file

@ -160,7 +160,7 @@ void LogFrame::OnTimer(wxTimerEvent& event)
// Parse log level formatting
for (std::size_t start = 0, pos = 0;; pos++)
{
if (text[pos] == L'·')
if (pos < text.size() && text[pos] == L'·')
{
if (text.size() - pos <= 3)
{