code-style: slight cleanups

* put TOP_STATUSBAR under the HAVE_LIBFONTS guard
* change get_win_title param to take unsigned char ptr
* init UTF8_STRING like other atoms
This commit is contained in:
NRK
2022-02-27 15:37:15 +06:00
committed by N-R-K
parent d9db7d76b4
commit bdd9521bf3
4 changed files with 8 additions and 8 deletions

2
main.c
View File

@ -233,7 +233,7 @@ static bool check_timeouts(struct timeval *t)
return tmin > 0;
}
size_t get_win_title(char *buf, int len)
size_t get_win_title(unsigned char *buf, int len)
{
char *argv[8];
spawn_t pfd;