From b935645e7f87d4b7bb9f4ef64f433d2238dbc20d Mon Sep 17 00:00:00 2001 From: Suyooo Date: Sat, 1 Jun 2024 14:02:49 +0200 Subject: [PATCH] Fix minimum height not being applied --- src/conky.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conky.cc b/src/conky.cc index 47101e230..2c89f4470 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -863,9 +863,9 @@ void update_text_area() { for_each_line(text_buffer, text_size_updater); text_size += conky::vec2i::UnitX(); - text_size.max(conky::vec2i(text_size.x(), minimum_height.get(*state))); + text_size = text_size.max(conky::vec2i(text_size.x(), minimum_height.get(*state))); int mw = maximum_width.get(*state); - if (mw > 0) text_size.min(conky::vec2i(mw, text_size.y())); + if (mw > 0) text_size = text_size.min(conky::vec2i(mw, text_size.y())); } alignment align = text_alignment.get(*state);