diff options
Diffstat (limited to 'fxjs/cjs_publicmethods.cpp')
-rw-r--r-- | fxjs/cjs_publicmethods.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fxjs/cjs_publicmethods.cpp b/fxjs/cjs_publicmethods.cpp index 7220693813..eaa16c9fe1 100644 --- a/fxjs/cjs_publicmethods.cpp +++ b/fxjs/cjs_publicmethods.cpp @@ -73,8 +73,7 @@ const wchar_t* const kFullMonths[] = {L"January", L"February", L"March", template <typename T> T StrTrim(const T& str) { T result = str; - result.TrimLeft(' '); - result.TrimRight(' '); + result.Trim(' '); return result; } |