Fix transmission of chunked compressed data

This commit is contained in:
Kovid Goyal
2017-10-04 10:19:25 +05:30
parent 9ccf9636ce
commit 1a8d9314fe
4 changed files with 39 additions and 8 deletions

View File

@@ -648,7 +648,7 @@ parse_graphics_code(Screen *screen, PyObject UNUSED *dump_callback) {
state = PAYLOAD;
break;
default:
REPORT_ERROR("Malformed graphics control block, expecting a comma or semi-colon after a value, found: 0x%x", screen->parser_buf[screen->parser_buf_pos - 1]);
REPORT_ERROR("Malformed graphics control block, expecting a comma or semi-colon after a value, found: 0x%x", screen->parser_buf[pos - 1]);
return;
}
break;