Build floater fixes by Cale Flanagan +tinies

This commit is contained in:
Siana Gearz
2011-11-14 06:25:23 +01:00
parent 0566bde61b
commit f0108c17b9
7 changed files with 73 additions and 37 deletions

View File

@@ -2547,9 +2547,8 @@ BOOL LLLineEditor::evaluateFloat()
else
{
// Replace the expression with the result
std::ostringstream result_str;
result_str << result;
setText(result_str.str());
std::string result_str = llformat("%f", result);
setText(result_str);
selectAll();
}