Fix typo/unused argument in fontloader.js->spliceString()

This commit is contained in:
fkaelberer 2014-03-31 14:48:23 +02:00
parent 7d5bf83ce8
commit 4ee35b0d46

View File

@ -171,8 +171,8 @@ var FontLoader = {
}
function spliceString(s, offset, remove, insert) {
var chunk1 = data.substr(0, offset);
var chunk2 = data.substr(offset + remove);
var chunk1 = s.substr(0, offset);
var chunk2 = s.substr(offset + remove);
return chunk1 + insert + chunk2;
}