summaryrefslogtreecommitdiffstats
path: root/src/mandocvisitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mandocvisitor.cpp')
-rw-r--r--src/mandocvisitor.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mandocvisitor.cpp b/src/mandocvisitor.cpp
index f60f06b..beef632 100644
--- a/src/mandocvisitor.cpp
+++ b/src/mandocvisitor.cpp
@@ -93,15 +93,14 @@ void ManDocVisitor::visit(DocSymbol *s)
void ManDocVisitor::visit(DocEmoji *s)
{
if (m_hide) return;
- const char *res = EmojiEntityMapper::instance()->man(s->emoji());
+ const char *res = EmojiEntityMapper::instance()->name(s->index());
if (res)
{
m_t << res;
}
else
{
- // no error or warning to be supplied
- // err("man: non supported HTML-entity found: &%s;\n",get_symbol_item(s->emoji()));
+ m_t << s->name();
}
m_firstCol=FALSE;
}