Skip to content

Commit

Permalink
Fixed an error in the text server.
Browse files Browse the repository at this point in the history
  • Loading branch information
ILOVEPIE committed Apr 15, 2024
1 parent 3283661 commit 0a7fde7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/text-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const text_server_prototype = Object.create(Object, {
}
this._lastPosition = this._position;
this._position = this._buffer.length;
return global.cptable.utils.decode(codepage, this._buffer.subarray(this._position));
return global.cptable.utils.decode(codepage, this._buffer.subarray(this._lastPosition));
},
writable: false
},
Expand Down

0 comments on commit 0a7fde7

Please sign in to comment.