From 4be24e17c36633cf0b7e277edd07bcb9dc3eba5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Thu, 29 Oct 2020 16:48:00 +0100 Subject: Bump minimum CMake version and termo And some related cleanup or unification. --- ponymap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ponymap.c') diff --git a/ponymap.c b/ponymap.c index 913d16e..f8c0ac4 100644 --- a/ponymap.c +++ b/ponymap.c @@ -470,8 +470,7 @@ indicator_set_status (struct indicator *self, char *status) bool refresh = self->shown; indicator_hide (self); - free (self->status); - self->status = status; + cstr_set (&self->status, status); if (refresh) indicator_show (self); -- cgit v1.2.3