summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-12-13 15:58:34 -0500
committerOz Linden <oz@lindenlab.com>2011-12-13 15:58:34 -0500
commitac94b66a08b469b02d4cfe41341beaab0a8443ab (patch)
treeceb8f2157ba1e973aa120ae2fed3c00e977f17b5 /indra
parentdbc91a7fac9513bdd879c5c2dc82208e08eaad2d (diff)
storm-1729: ensure that cpu id has no leading or trailing spaces for ease of comparison and formatting
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/llsys.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcommon/llsys.cpp b/indra/llcommon/llsys.cpp
index d781687175..19075afa68 100644
--- a/indra/llcommon/llsys.cpp
+++ b/indra/llcommon/llsys.cpp
@@ -608,6 +608,7 @@ LLCPUInfo::LLCPUInfo()
out << " (" << mCPUMHz << " MHz)";
}
mCPUString = out.str();
+ LLStringUtil::trim(mCPUString);
}
bool LLCPUInfo::hasAltivec() const