diff options
Diffstat (limited to 'fxjs')
-rw-r--r-- | fxjs/cjs_global.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_global.cpp b/fxjs/cjs_global.cpp index 0fef8d5334..db63a4b8b9 100644 --- a/fxjs/cjs_global.cpp +++ b/fxjs/cjs_global.cpp @@ -555,7 +555,7 @@ CJS_Return JSGlobalAlternate::SetGlobalVariables(const ByteString& propname, if (pTemp->bDeleted || pTemp->nType != nType) { pTemp->dData = 0; pTemp->bData = 0; - pTemp->sData = ""; + pTemp->sData.clear(); pTemp->nType = nType; } pTemp->bDeleted = false; |