=> 8a38e2fd9418097ce03dc448de7560aac3899efa
[1mdiff --git a/src/gmdocument.c b/src/gmdocument.c[m [1mindex fd1de3b2..a9bea74c 100644[m [1m--- a/src/gmdocument.c[m [1m+++ b/src/gmdocument.c[m [36m@@ -2731,7 +2731,8 @@[m [miRangecc findLoc_GmRun(const iGmRun *d, iInt2 pos) {[m }[m iRangecc loc;[m iWrapText wt = { .text = d->text,[m [31m- .maxWidth = drawBoundWidth_GmRun(d),[m [32m+[m[32m .mode = anyCharacter_WrapTextMode,[m [32m+[m[32m .maxWidth = isJustified_GmRun(d) ? drawBoundWidth_GmRun(d) : 0,[m .justify = isJustified_GmRun(d),[m .hitPoint = init_I2(x, 0) };[m measure_WrapText(&wt, d->font);[m [1mdiff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c[m [1mindex 8e160fd3..4ad2bb20 100644[m [1m--- a/src/ui/documentwidget.c[m [1m+++ b/src/ui/documentwidget.c[m [36m@@ -1168,8 +1168,8 @@[m [mstruct Impl_DrawContext {[m [m static int measureAdvanceToLoc_(const iGmRun *run, const char *end) {[m iWrapText wt = { .text = run->text,[m [31m- .mode = word_WrapTextMode,[m [31m- .maxWidth = iAbsi(drawBoundWidth_GmRun(run)),[m [32m+[m[32m .mode = anyCharacter_WrapTextMode,[m [32m+[m[32m .maxWidth = isJustified_GmRun(run) ? iAbsi(drawBoundWidth_GmRun(run)) : 0,[m .justify = isJustified_GmRun(run),[m .hitChar = end };[m measure_WrapText(&wt, run->font);[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).