mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-19 19:25:41 +02:00
bar: don’t prepend ‘mod:’ to module thread titles
This commit is contained in:
parent
ed2b8c4874
commit
371bfb4065
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ set_module_thread_name(thrd_t id, struct module *mod)
|
|||
{
|
||||
char title[16];
|
||||
if (mod->description != NULL)
|
||||
snprintf(title, sizeof(title), "mod:%s", mod->description(mod));
|
||||
strncpy(title, mod->description(mod), sizeof(title));
|
||||
else
|
||||
strncpy(title, "mod:<unknown>", sizeof(title));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue