Skip to content

Commit

Permalink
Fixed unknown function count_characters
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Mar 1, 2018
1 parent fc3f528 commit f24b1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion richtext/richtext.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f24b1ea

Please sign in to comment.