This commit is contained in:
DarthArgus
2015-10-27 23:44:27 -05:00
parent 7254d00e3c
commit d6190b4544
2 changed files with 2 additions and 2 deletions
@@ -905,7 +905,7 @@ std::string VChatInterface::parseWorldName(std::string const & input)
std::string::size_type findIndex = input.find(worldCode);
if(findIndex != std::string::npos)
{
findIndex += worldCode.length());
findIndex += worldCode.length();
output = input.substr(findIndex);
}
else
@@ -273,7 +273,7 @@ namespace DB
template<int S>
void BindableString<S>::setValue(const std::string &buffer)
{
FATAL(buffer.length())>S,("Attempt to save a std::string \"%s\"that is too long to the database.", buffer.c_str()));
FATAL(buffer.length()>S,("Attempt to save a std::string \"%s\"that is too long to the database.", buffer.c_str()));
strncpy(m_value, buffer.c_str(), S+1);
indicator=buffer.length();
}