SL-13878 FIXED The no title location appears in 'Teleport history' after adding a blank line to teleport_history.txt
parent
1557cd8fe2
commit
f9ed4fedab
|
|
@ -201,6 +201,12 @@ void LLTeleportHistoryStorage::load()
|
|||
std::string line;
|
||||
while (std::getline(file, line))
|
||||
{
|
||||
if (line.empty())
|
||||
{
|
||||
LL_WARNS() << "Teleport history contains empty line."<< LL_ENDL;
|
||||
continue;
|
||||
}
|
||||
|
||||
LLSD s_item;
|
||||
std::istringstream iss(line);
|
||||
if (parser->parse(iss, s_item, line.length()) == LLSDParser::PARSE_FAILURE)
|
||||
|
|
|
|||
Loading…
Reference in New Issue