aboutsummaryrefslogtreecommitdiff
path: root/ponymap.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-29 16:48:00 +0100
committerPřemysl Eric Janouch <p@janouch.name>2020-10-29 16:48:00 +0100
commit4be24e17c36633cf0b7e277edd07bcb9dc3eba5b (patch)
tree9d20e220bc25e9c0f70decbf0a7117ba6e36c269 /ponymap.c
parent0e147b2ef1be327351d21dca2e246804afc939b8 (diff)
downloadponymap-4be24e17c36633cf0b7e277edd07bcb9dc3eba5b.tar.gz
ponymap-4be24e17c36633cf0b7e277edd07bcb9dc3eba5b.tar.xz
ponymap-4be24e17c36633cf0b7e277edd07bcb9dc3eba5b.zip
Bump minimum CMake version and termo
And some related cleanup or unification.
Diffstat (limited to 'ponymap.c')
-rw-r--r--ponymap.c3
1 files changed, 1 insertions, 2 deletions
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);