forked from external/yambar
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];
|
char title[16];
|
||||||
if (mod->description != NULL)
|
if (mod->description != NULL)
|
||||||
snprintf(title, sizeof(title), "mod:%s", mod->description(mod));
|
strncpy(title, mod->description(mod), sizeof(title));
|
||||||
else
|
else
|
||||||
strncpy(title, "mod:<unknown>", sizeof(title));
|
strncpy(title, "mod:<unknown>", sizeof(title));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue