Merge pull request #3641 from tamagokun/patch-1

Update Tiled Base64Decode function
This commit is contained in:
Richard Davey 2018-05-04 15:30:46 +01:00 committed by GitHub
commit d1479b6f23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ var Base64Decode = function (data)
{
var binaryString = window.atob(data);
var len = binaryString.length;
var bytes = new Array(len);
var bytes = new Array(len / 4);
// Interpret binaryString as an array of bytes representing little-endian encoded uint32 values.
for (var i = 0; i < len; i += 4)