summaryrefslogtreecommitdiff
path: root/func/tagnames.lua
diff options
context:
space:
mode:
Diffstat (limited to 'func/tagnames.lua')
-rw-r--r--func/tagnames.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/func/tagnames.lua b/func/tagnames.lua
index 75284ed..0274b7e 100644
--- a/func/tagnames.lua
+++ b/func/tagnames.lua
@@ -23,7 +23,7 @@ function nametagc_t(t, c)
for _, c in ipairs(cs) do
for _, ct in ipairs(c:tags()) do
if ct == t then
- nametag(t, c.class)
+ nametag(t, c.newclass or c.class)
return
end
end