From f24b1eaddea4d797c3822353c04aae2bf24f9c83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ritzl?= Date: Fri, 2 Mar 2018 00:03:59 +0100 Subject: [PATCH] Fixed unknown function count_characters --- richtext/richtext.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/richtext/richtext.lua b/richtext/richtext.lua index d09606b..d7f346c 100644 --- a/richtext/richtext.lua +++ b/richtext/richtext.lua @@ -107,7 +107,7 @@ function M.create(text, font, settings) local text_metrics = { width = 0, height = 0, - char_count = parser.count_characters(text), + char_count = parser.length(text), } local line_words = {} local line_width = 0