From 6d5f76530c1c27f41f057274ed0bb4517fdd4de0 Mon Sep 17 00:00:00 2001 From: Ben Lubar Date: Wed, 14 Oct 2020 12:00:11 -0500 Subject: [PATCH] fix build on gcc 4.8 --- helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.cpp b/helpers.cpp index b829fa6..20f601b 100644 --- a/helpers.cpp +++ b/helpers.cpp @@ -576,7 +576,7 @@ void categorize(std::ostream & s, df::historical_figure *hf, bool, bool) s << " " << html_escape(DF2UTF(name)) << suffix; if (auto sym = name == race->name[0] ? ENUM_ATTR(pronoun_type, symbol, hf->sex) : nullptr) { - s << " (" << html_escape(DF2UTF(name)) << ")"; + s << " (" << html_escape(DF2UTF(sym)) << ")"; } if (hf->flags.is_set(histfig_flags::deity) || hf->flags.is_set(histfig_flags::skeletal_deity) || hf->flags.is_set(histfig_flags::rotting_deity))