From ee39d7ba14c4def886df4bcf219744dc5da98b5f Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Sat, 15 Sep 2018 11:33:50 +0900 Subject: [PATCH] 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") --- kitty/line.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/kitty/line.c b/kitty/line.c index 509714202..925de022c 100644 --- a/kitty/line.c +++ b/kitty/line.c @@ -259,11 +259,8 @@ line_as_ansi(Line *self, Py_UCS4 *buf, index_type buflen) { previous_width = attrs & WIDTH_MASK; } return i; -#undef CHECK_BOOL -#undef CHECK_COLOR #undef WRITE_SGR #undef WRITE_CH -#undef WRITE_COLOR } static PyObject*