MAINT-3564 FIXED Replace dot before comparing user name.

meow-7.2.2
Mnikolenko ProductEngine 2014-04-14 11:13:22 +03:00
parent 0b0ca7961b
commit 4cf5d945d4
1 changed files with 1 additions and 0 deletions

View File

@ -262,6 +262,7 @@ void LLPanelLogin::addFavoritesToStartLocation()
// Load favorites into the combo.
std::string user_defined_name = getChild<LLComboBox>("username_combo")->getSimple();
std::replace(user_defined_name.begin(), user_defined_name.end(), '.', ' ');
std::string filename = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, "stored_favorites.xml");
LLSD fav_llsd;
llifstream file;