summaryrefslogtreecommitdiff
path: root/src/dged/buffer.c
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2023-10-19 23:12:04 +0200
committerAlbert Cervin <albert@acervin.com>2023-10-19 23:12:04 +0200
commit05f61f7e7ab314187ff5d28281a6d6d7facb17ae (patch)
tree193055fddeb00fecb5bd3f47794af5e950668112 /src/dged/buffer.c
parent54c9b4b533210b77be998f458ff96bdc54272f64 (diff)
downloaddged-05f61f7e7ab314187ff5d28281a6d6d7facb17ae.tar.gz
dged-05f61f7e7ab314187ff5d28281a6d6d7facb17ae.tar.xz
dged-05f61f7e7ab314187ff5d28281a6d6d7facb17ae.zip
follow-up fixes after refactoring
Diffstat (limited to 'src/dged/buffer.c')
-rw-r--r--src/dged/buffer.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/dged/buffer.c b/src/dged/buffer.c
index 117fab5..c95da91 100644
--- a/src/dged/buffer.c
+++ b/src/dged/buffer.c
@@ -753,9 +753,10 @@ void render_line(struct text_chunk *line, void *userdata) {
// calculate character properties
uint32_t nproperties = 0;
- text_get_properties(cmdbuf->buffer->text,
- (struct location){.line = line->line, .col = coli + cmdbuf->origin.col},
- properties, 16, &nproperties);
+ text_get_properties(
+ cmdbuf->buffer->text,
+ (struct location){.line = line->line, .col = coli + cmdbuf->origin.col},
+ properties, 16, &nproperties);
// handle changes to properties
uint32_t nnew_props = 0;