fix bug with SUPER skip page calculations.

the page counter is advanced by 1 implicitly when the page finishes. Unless empty, the skip count is thus decreased by 1.
This commit is contained in:
Kelvin Sherlock 2019-12-21 20:31:42 -05:00
parent bf63d70d3b
commit e52e7921ef
1 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,8 @@ public:
if (page != _page) {
unsigned skip = page - _page;
if (skip > 1) {
if (_count) --skip;
if (skip) {
while (skip >= 0x80) {
_data.push_back(0xff);