diff options
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/being.cpp b/src/being.cpp index 35fe6052c..d45bbcf74 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -1455,6 +1455,15 @@ void Being::flashName(int time) mDispName->flash(time); } +std::string Being::getGenderSignWithSpace() const +{ + const std::string &str = getGenderSign(); + if (str.empty()) + return str; + else + return " " + str; +} + std::string Being::getGenderSign() const { if (config.getBoolValue("showgender")) |