string concat, not multiple arguments...

This commit is contained in:
webzwo0i 2015-02-15 15:26:07 +01:00
parent 1f6a9afae4
commit c6ef7f4867

View file

@ -1620,7 +1620,7 @@ exports.makeAText = function (text, attribs) {
exports.applyToAText = function (cs, atext, pool) { exports.applyToAText = function (cs, atext, pool) {
var text = exports.applyToText(cs, atext.text) var text = exports.applyToText(cs, atext.text)
if(text[1]){ if(text[1]){
throw new Error("newline count is wrong, cs:",cs," and text:",atext) throw new Error("newline count is wrong, cs:"+cs+" and text:"+atext)
} }
return { return {
text: text[0], text: text[0],