summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-05 20:25:31 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-05 20:25:31 +0300
commitd8ed0b7e0c9015ee5f8212e6325b3b99b96c6e54 (patch)
treea0e2cf622bea241a64ec36b8bd2ba1c15e24cdfe /src/being.cpp
parentbdbad5330716fde9952924190b60341d05a089d1 (diff)
downloadmv-d8ed0b7e0c9015ee5f8212e6325b3b99b96c6e54.tar.gz
mv-d8ed0b7e0c9015ee5f8212e6325b3b99b96c6e54.tar.bz2
mv-d8ed0b7e0c9015ee5f8212e6325b3b99b96c6e54.tar.xz
mv-d8ed0b7e0c9015ee5f8212e6325b3b99b96c6e54.zip
Add space before gender sign.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp9
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"))