Fixed #2195 (unit tests failing)

This commit is contained in:
Daniel Marjamäki 2010-11-12 15:43:16 +01:00
parent 3226281c59
commit a605bdc8a2
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ void ErrorLogger::ErrorMessage::setmsg(const std::string &msg)
}
else
{
_shortMessage = msg.substr(0, pos - 1);
_shortMessage = msg.substr(0, pos);
_verboseMessage = msg.substr(pos + 1);
}
}