diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-11 16:14:39 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-11 16:14:39 +0300 |
commit | 20e00806e518d3d33093158df3a7d2f5d9c0160e (patch) | |
tree | 70243a58abe29d69bcd59f03a85afd9313c91ee0 /src | |
parent | 1e8b17b775715edfc68157d9be6743109f65a71b (diff) |
GmDocument: Fixed bullet decorations
Diffstat (limited to 'src')
-rw-r--r-- | src/gmdocument.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 25427391..c3559bf3 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -423,7 +423,7 @@ static void doLayout_GmDocument_(iGmDocument *d) { | |||
423 | iGmRun bulRun = run; | 423 | iGmRun bulRun = run; |
424 | bulRun.visBounds.pos = addX_I2(pos, indent * gap_Text); | 424 | bulRun.visBounds.pos = addX_I2(pos, indent * gap_Text); |
425 | bulRun.visBounds.size = advance_Text(run.font, bullet); | 425 | bulRun.visBounds.size = advance_Text(run.font, bullet); |
426 | bulRun.visBounds.pos.x -= 4 * gap_Text - width_Rect(run.visBounds) / 2; | 426 | bulRun.visBounds.pos.x -= 4 * gap_Text - width_Rect(bulRun.visBounds) / 2; |
427 | bulRun.bounds = zero_Rect(); /* just visual */ | 427 | bulRun.bounds = zero_Rect(); /* just visual */ |
428 | bulRun.text = range_CStr(bullet); | 428 | bulRun.text = range_CStr(bullet); |
429 | bulRun.flags |= decoration_GmRunFlag; | 429 | bulRun.flags |= decoration_GmRunFlag; |