diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-04 16:59:23 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-04 16:59:23 +0200 |
commit | c50ea5d545136b0140532d552bf0a59ba0398987 (patch) | |
tree | 410b92cf5e8d2f5eeab3e30312972533220fc42c | |
parent | e40dec48ecdf2fc6a7bbee2078e422f3dbb95f69 (diff) | |
download | luaotfload-c50ea5d545136b0140532d552bf0a59ba0398987.tar.gz |
fix invalid identifiers
-rw-r--r-- | luaotfload-colors.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/luaotfload-colors.lua b/luaotfload-colors.lua index cd9341e..bc3d46f 100644 --- a/luaotfload-colors.lua +++ b/luaotfload-colors.lua @@ -226,13 +226,13 @@ node_colorize = function (head, current_color, next_color) if tfmdata and tfmdata.properties and tfmdata.properties.color then local font_color = tfmdata.properties.color -- luaotfload.info(cnt, utf.char(n.char), n.font, "<TRUE>", font_color) - if fontcolor ~= current_color then - local pushcolor = hex_to_rgba(fontcolor) + if font_color ~= current_color then + local pushcolor = hex_to_rgba(font_color) local push = newnode(whatsit_t, 8) push.mode = 1 push.data = pushcolor head = insert_node_before(head, n, push) - current_color = fontcolor + current_color = font_color end local next_color_in = lookup_next_color (nextnode) or next_color if next_color_in ~= font_color then |