aboutsummaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/renderdocument.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/renderdocument.nim b/src/render/renderdocument.nim
index cd6d7a0e..46d8a003 100644
--- a/src/render/renderdocument.nim
+++ b/src/render/renderdocument.nim
@@ -316,7 +316,7 @@ proc renderBlockContext(grid: var FlexibleGrid, ctx: BlockBox, x, y: int, window
if ctx of ListItemBox:
let ctx = ListItemBox(ctx)
if ctx.marker != nil:
- grid.renderInlineContext(ctx.marker, x - ctx.marker.maxwidth, y, window)
+ grid.renderInlineContext(ctx.marker, x - ctx.marker.width, y, window)
if ctx.inline != nil:
assert ctx.nested.len == 0