diff --git a/mozilla/layout/base/nsDocumentViewer.cpp b/mozilla/layout/base/nsDocumentViewer.cpp index 269f28fb3bd..01aeab57334 100644 --- a/mozilla/layout/base/nsDocumentViewer.cpp +++ b/mozilla/layout/base/nsDocumentViewer.cpp @@ -1196,8 +1196,7 @@ DocumentViewerImpl::PermitUnload(PRBool *aPermitUnload) nsAutoString msg; if (len == 0) { - msg = preMsg + StringHead(event.text, len) + - NS_LITERAL_STRING("\n\n") + postMsg; + msg = preMsg + NS_LITERAL_STRING("\n\n") + postMsg; } else { msg = preMsg + NS_LITERAL_STRING("\n\n") + StringHead(event.text, len) +