aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-02-27 10:37:15 +0100
committerN-R-K <79544946+N-R-K@users.noreply.github.com>2022-03-02 10:32:35 +0100
commitbdd9521bf3ea86b3cd83b070728b58227d821ff8 (patch)
tree7b1477795d14afb1c85a804dc87b51c90baf2546 /main.c
parentd9db7d76b44e7d5c9bc48934d8b4e441104d3edc (diff)
downloadnsxiv-bdd9521bf3ea86b3cd83b070728b58227d821ff8.tar.zst
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
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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;