From a13750209b3836a4a6a16a7ba881625f397f160f Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Thu, 7 Mar 2024 20:19:26 +0100 Subject: Implement timers properly The timers shown with `M-x timers` are now actual timings. --- src/dged/text.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dged/text.c') diff --git a/src/dged/text.c b/src/dged/text.c index 3942efc..0a92933 100644 --- a/src/dged/text.c +++ b/src/dged/text.c @@ -421,6 +421,7 @@ void text_for_each_line(struct text *text, uint32_t line, uint32_t nlines, for (uint32_t li = line; li < nlines_max; ++li) { struct line *src_line = &text->lines[li]; struct text_chunk line = (struct text_chunk){ + .allocated = false, .text = src_line->data, .nbytes = src_line->nbytes, .nchars = src_line->nchars, -- cgit v1.2.3