From bdd9521bf3ea86b3cd83b070728b58227d821ff8 Mon Sep 17 00:00:00 2001 From: NRK Date: Sun, 27 Feb 2022 15:37:15 +0600 Subject: 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 --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index dc071ef..f485d39 100644 --- a/main.c +++ b/main.c @@ -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; -- cgit v1.2.3