diff --git a/source/status.c b/source/status.c index c16e9bc..856862c 100644 --- a/source/status.c +++ b/source/status.c @@ -776,7 +776,7 @@ void make_status(Window *win) int af = 0; str = expand_alias(buffer, empty_string, &af, NULL); - strmcpy(buffer, str, BIG_BUFFER_SIZE); + strlcpy(buffer, str, sizeof buffer); new_free(&str); }