From f861a2c61692eda9d24fc5e32608b3a56bb721bc Mon Sep 17 00:00:00 2001 From: Bert Wesarg Date: Mon, 31 Aug 2020 22:08:35 +0200 Subject: Revert "Use UTF-8 for check buttons and tree open/closed" This reverts commit 5d5913d355b3a9f03da589b3542b8f55467b4ed6. --- CheckItem.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'CheckItem.c') diff --git a/CheckItem.c b/CheckItem.c index a045d2ff..910981e8 100644 --- a/CheckItem.c +++ b/CheckItem.c @@ -35,11 +35,12 @@ static void CheckItem_delete(Object* cast) { static void CheckItem_display(Object* cast, RichString* out) { CheckItem* this = (CheckItem*)cast; assert (this != NULL); + RichString_write(out, CRT_colors[CHECK_BOX], "["); if (CheckItem_get(this)) - RichString_append(out, CRT_colors[CHECK_MARK], CRT_checkStr[CHECK_STR_FULL]); + RichString_append(out, CRT_colors[CHECK_MARK], "x"); else - RichString_append(out, CRT_colors[CHECK_MARK], CRT_checkStr[CHECK_STR_NONE]); - RichString_append(out, CRT_colors[CHECK_TEXT], " "); + RichString_append(out, CRT_colors[CHECK_MARK], " "); + RichString_append(out, CRT_colors[CHECK_BOX], "] "); RichString_append(out, CRT_colors[CHECK_TEXT], this->text); } -- cgit v1.2.3