line_as_ansi: remove dead undefs

CHECK_BOOL, CHECK_COLOR and WRITE_COLOR have been removed in
commit 27cd303a056 ("Centralize code to convert to SGR")
This commit is contained in:
Dominique Martinet 2018-09-15 11:33:50 +09:00
parent 62cb035afe
commit ee39d7ba14

View File

@ -259,11 +259,8 @@ line_as_ansi(Line *self, Py_UCS4 *buf, index_type buflen) {
previous_width = attrs & WIDTH_MASK; previous_width = attrs & WIDTH_MASK;
} }
return i; return i;
#undef CHECK_BOOL
#undef CHECK_COLOR
#undef WRITE_SGR #undef WRITE_SGR
#undef WRITE_CH #undef WRITE_CH
#undef WRITE_COLOR
} }
static PyObject* static PyObject*