Tests for displaying graphics

This commit is contained in:
Kovid Goyal
2017-10-03 16:10:04 +05:30
parent aec1612de2
commit c87dcdbe3c
5 changed files with 92 additions and 27 deletions

View File

@@ -589,7 +589,7 @@ parse_graphics_code(Screen *screen, PyObject UNUSED *dump_callback) {
case EQUAL:
if (screen->parser_buf[pos++] != '=') {
REPORT_ERROR("Malformed graphics control block, no = after key");
REPORT_ERROR("Malformed graphics control block, no = after key, found: 0x%x instead", screen->parser_buf[pos-1]);
return;
}
state = value_state;