aboutsummaryrefslogtreecommitdiffstats
path: root/CheckItem.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2020-09-03 12:34:39 +0200
committerDaniel Lange <DLange@git.local>2020-09-03 12:34:39 +0200
commit9dd18f5da55d0b7b13170b7b75c5d9352cd51322 (patch)
tree729c3486e14e154e67be3e95eae6f108bb112c73 /CheckItem.c
parent980f3c6ac003439a4cf4dc9b12f6e84f9562e565 (diff)
parent59eeadec918a955b40427a1b012992161050c939 (diff)
downloaddebian_htop-9dd18f5da55d0b7b13170b7b75c5d9352cd51322.tar.gz
debian_htop-9dd18f5da55d0b7b13170b7b75c5d9352cd51322.tar.bz2
debian_htop-9dd18f5da55d0b7b13170b7b75c5d9352cd51322.zip
Update upstream source from tag 'upstream/3.0.1'
Update to upstream version '3.0.1' with Debian dir bf77c31e054f1228026f8fb35d16e496b025a364
Diffstat (limited to 'CheckItem.c')
-rw-r--r--CheckItem.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/CheckItem.c b/CheckItem.c
index a045d2f..910981e 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);
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy