File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ function getStringImpl(buffer, ptr) {
49
49
do {
50
50
str += String . fromCharCode . apply ( String , wtf16 . subarray ( off , off += STRING_CHUNKSIZE ) ) ;
51
51
len -= STRING_CHUNKSIZE ;
52
- } while ( length > STRING_CHUNKSIZE ) ;
52
+ } while ( len > STRING_CHUNKSIZE ) ;
53
53
return str + String . fromCharCode . apply ( String , wtf16 . subarray ( off , off + len ) ) ;
54
54
}
55
55
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ var loader = (function(exports) {
57
57
do {
58
58
str += String . fromCharCode . apply ( String , wtf16 . subarray ( off , off += STRING_CHUNKSIZE ) ) ;
59
59
len -= STRING_CHUNKSIZE ;
60
- } while ( length > STRING_CHUNKSIZE ) ;
60
+ } while ( len > STRING_CHUNKSIZE ) ;
61
61
62
62
return str + String . fromCharCode . apply ( String , wtf16 . subarray ( off , off + len ) ) ;
63
63
}
You can’t perform that action at this time.
0 commit comments