Change new line from CR LF to LF when copying console text

This commit is contained in:
Eduardo Bart 2015-06-04 12:10:32 -03:00
parent 471b8362e2
commit e4302562ff
1 changed files with 1 additions and 1 deletions

View File

@ -601,7 +601,7 @@ function addTabText(text, speaktype, tab, creatureName)
local label = self:getParent():getChildByIndex(selectionChild) local label = self:getParent():getChildByIndex(selectionChild)
table.insert(text, label:getSelection()) table.insert(text, label:getSelection())
end end
consoleBuffer.selectionText = table.concat(text, '\r\n') consoleBuffer.selectionText = table.concat(text, '\n')
return true return true
end end
label.onDragMove = function(self, mousePos, mouseMoved) label.onDragMove = function(self, mousePos, mouseMoved)