diff options
Diffstat (limited to 'fxjs/cjs_globaldata.cpp')
-rw-r--r-- | fxjs/cjs_globaldata.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fxjs/cjs_globaldata.cpp b/fxjs/cjs_globaldata.cpp index 3f962734db..a78bce55c3 100644 --- a/fxjs/cjs_globaldata.cpp +++ b/fxjs/cjs_globaldata.cpp @@ -33,8 +33,7 @@ const uint8_t JS_RC4KEY[] = { // Returns true if non-empty, setting sPropName bool TrimPropName(ByteString* sPropName) { - sPropName->TrimLeft(); - sPropName->TrimRight(); + sPropName->Trim(); return sPropName->GetLength() != 0; } |