config.yml: Log section optimized

This commit is contained in:
Nekotekina 2017-05-13 21:30:37 +03:00
parent 299f627321
commit 88fef183a3
191 changed files with 377 additions and 411 deletions

View file

@ -60,7 +60,7 @@ struct gui_listener : logs::listener
_new->msg += "} ";
}
if (msg.ch->name)
if ('\0' != *msg.ch->name)
{
_new->msg += msg.ch->name;
_new->msg += msg.sev == logs::level::todo ? " TODO: " : ": ";