summaryrefslogtreecommitdiff
path: root/src/gmdocument.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r--src/gmdocument.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 06b4fb45..34987beb 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -416,7 +416,8 @@ static const int colors[max_GmLineType] = {
416 416
417static iBool typesetOneLine_RunTypesetter_(iWrapText *wrap, iRangecc wrapRange, int origin, int advance) { 417static iBool typesetOneLine_RunTypesetter_(iWrapText *wrap, iRangecc wrapRange, int origin, int advance) {
418 iAssert(wrapRange.start <= wrapRange.end); 418 iAssert(wrapRange.start <= wrapRange.end);
419 printf("typeset: {%s}\n", cstr_Rangecc(wrapRange)); 419 trimEnd_Rangecc(&wrapRange);
420// printf("typeset: {%s}\n", cstr_Rangecc(wrapRange));
420 iRunTypesetter *d = wrap->context; 421 iRunTypesetter *d = wrap->context;
421 const int fontId = d->run.font; 422 const int fontId = d->run.font;
422 d->run.text = wrapRange; 423 d->run.text = wrapRange;