This commit is contained in:
Kovid Goyal
2016-11-23 11:11:23 +05:30
parent a0df10d0c2
commit 4b0e8fcb49
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -522,7 +522,7 @@ HANDLER(dcs) {
#endif
#define DISPATCH_DCS \
SET_STATE(NORMAL_STATE); \
if (!screen->parser_buf_pos) { REPORT_ERROR("Empty DCS sequence, ignoring."); return; } \
if (screen->parser_buf_pos == 0) { REPORT_ERROR("Empty DCS sequence, ignoring."); return; } \
REPORT_DCS; \
handle_dcs(screen, dump_callback);