Fix small issue with patch for bug 361334 (Onbeforeunload dialog has too many line breaks), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@215690 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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) +
|
||||
|
||||
Reference in New Issue
Block a user