Skip to content
Snippets Groups Projects
Commit 6fb42d7a authored by Todd Stinson's avatar Todd Stinson
Browse files

PATH-349: BUGFIX Incorrect ordering of CPU time was only occurring in the case...

PATH-349: BUGFIX Incorrect ordering of CPU time was only occurring in the case that the number of digitis in one of the CPU times exceeded 3 digits.  In this scenario, the thousands comma was being inserted, and this comma was disrupting the comparison method.  This fix is simply to use the standard integer formatting rather that the locale specific one.
parent 125ca3d5
No related branches found
No related tags found
No related merge requests found
...@@ -473,9 +473,7 @@ void LLFloaterPathfindingCharacters::updateCharactersList() ...@@ -473,9 +473,7 @@ void LLFloaterPathfindingCharacters::updateCharactersList()
columns[2]["font"] = "SANSSERIF"; columns[2]["font"] = "SANSSERIF";
S32 cpuTime = llround(character.getCPUTime()); S32 cpuTime = llround(character.getCPUTime());
std::string cpuTimeString; std::string cpuTimeString = llformat("%d", cpuTime);
LLResMgr::getInstance()->getIntegerString(cpuTimeString, cpuTime);
LLStringUtil::format_map_t string_args; LLStringUtil::format_map_t string_args;
string_args["[CPU_TIME]"] = cpuTimeString; string_args["[CPU_TIME]"] = cpuTimeString;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment