summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/beingpopup.cpp2
-rw-r--r--src/gui/popupmenu.cpp5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/beingpopup.cpp b/src/gui/beingpopup.cpp
index a47e35032..37c969f05 100644
--- a/src/gui/beingpopup.cpp
+++ b/src/gui/beingpopup.cpp
@@ -81,7 +81,7 @@ void BeingPopup::show(int x, int y, Being *b)
Label *label2 = mBeingGuild;
Label *label3 = mBeingRank;
- mBeingName->setCaption(b->getName());
+ mBeingName->setCaption(b->getName() + b->getGenderSign());
if (gui)
{
if (player_relations.isGoodName(b))
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index f84088cc1..66a8ce3ab 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -117,7 +117,7 @@ void PopupMenu::showPopup(int x, int y, Being *being)
const std::string &name = mNick;
- mBrowserBox->addRow(name);
+ mBrowserBox->addRow(name + being->getGenderSign());
switch (being->getType())
{
@@ -323,7 +323,8 @@ void PopupMenu::showPopup(int x, int y, std::list<Being*> &beings)
if (!being->getName().empty())
{
mBrowserBox->addRow(strprintf("@@player_%u|%s >@@",
- being->getId(), being->getName().c_str()));
+ being->getId(), (being->getName()
+ + being->getGenderSign()).c_str()));
}
}
mBrowserBox->addRow("##3---");