summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwrmr2025-08-25 14:46:34 -0400
committerwrmr2025-08-25 14:46:34 -0400
commitdbd8996f00cd8b30c1be988a97e72040e8b35200 (patch)
treec02de44eab95f5dde4e5b5888c8e4cae35d814bc
parent9a79d368acf4954765bf57c4126a83ab9454b03d (diff)
don't expand post height when opt.pfp_vis off
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index e953fda..69eda35 100644
--- a/main.c
+++ b/main.c
@@ -460,7 +460,7 @@ void gfx_predraw_post(GfxPost *post) {
int gfx_post_height(GfxPost *post) {
int n = 0;
- if (post->src->user->pfp.lines > post->lines + 2) n = post->src->user->pfp.lines - post->lines - 2;
+ if (opt.pfp_vis && post->src->user->pfp.lines > post->lines + 2) n = post->src->user->pfp.lines - post->lines - 2;
return post->lines + 2 + GFX_TEXT_MARGIN_Y * 2 + n;
}