Commit cac0e088 authored by Kathleen Brade's avatar Kathleen Brade
Browse files

Windows clipboard: Use \r\n for end of line.

parent 54c15a46
......@@ -423,6 +423,7 @@ TorProtocolService.prototype =
.getService(Ci.nsIScriptableDateFormat);
let dateFormat = dateFmtSvc.dateFormatShort;
let timeFormat = dateFmtSvc.timeFormatSecondsForce24Hour;
let eol = (TorLauncherUtil.isWindows) ? "\r\n" : "\n";
for (let i = 0; i < this.mTorLog.length; ++i)
{
let logObj = this.mTorLog[i];
......@@ -438,7 +439,7 @@ TorProtocolService.prototype =
fracSecsStr += "0";
timeStr += '.' + fracSecsStr;
s += timeStr + " [" + logObj.type + "] " + logObj.msg + "\n";
s += timeStr + " [" + logObj.type + "] " + logObj.msg + eol;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment