From c50ea5d545136b0140532d552bf0a59ba0398987 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sat, 4 May 2013 16:59:23 +0200 Subject: fix invalid identifiers --- luaotfload-colors.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'luaotfload-colors.lua') 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, "", 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 -- cgit v1.2.3