diff options
| author | wrmr | 2025-11-09 21:58:18 -0500 |
|---|---|---|
| committer | wrmr | 2025-11-09 21:58:18 -0500 |
| commit | 2ccfe5af5bae0efba4a08310aff27e19e7f7b5d4 (patch) | |
| tree | ab43a3eb0bf9788ca655698b30de50c7bdf4ff5f | |
| parent | 6473fe762df6434a4a8ea3a8675922b7bbdca66d (diff) | |
fix pfp width not being truncated when added to left margin
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -510,7 +510,7 @@ typedef struct { int post_left_margin(Post *post) { int lm = opt.margin.left; - if (opt.cbink.pfp) lm += post->user->pfp.cols + opt.margin.pfp; + if (opt.cbink.pfp) lm += MIN(post->user->pfp.cols, GFX_PFP_MAX_COLS) + opt.margin.pfp; return lm; } |
