diff --git a/render.c b/render.c index 985f97de..8e0e8f9c 100644 --- a/render.c +++ b/render.c @@ -2579,7 +2579,7 @@ render_urls(struct terminal *term) size_t chars = wcslen(key) + (text_len > 0 ? 3 + text_len : 0); const size_t max_chars = 50; - chars = max(chars, max_chars); + chars = min(chars, max_chars); wchar_t label[chars + 2]; if (text_len == 0)