diff options
author | wrmr | 2025-08-25 14:46:34 -0400 |
---|---|---|
committer | wrmr | 2025-08-25 14:46:34 -0400 |
commit | dbd8996f00cd8b30c1be988a97e72040e8b35200 (patch) | |
tree | c02de44eab95f5dde4e5b5888c8e4cae35d814bc /main.c | |
parent | 9a79d368acf4954765bf57c4126a83ab9454b03d (diff) |
don't expand post height when opt.pfp_vis off
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |