summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.cpp
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2010-10-05 14:00:35 +0200
committerStefan Dombrowski <stefan@uni-bonn.de>2010-10-05 14:00:35 +0200
commit7fa20ba5839d8674d9c4023f55419fbc21e00c07 (patch)
treefb00d41c86b13ad6d7842bf716499e10e005afe2 /src/gui/socialwindow.cpp
parent671ae4cd0e26618c0662123d4b9c0d1c63acb4f6 (diff)
downloadmana-7fa20ba5839d8674d9c4023f55419fbc21e00c07.tar.gz
mana-7fa20ba5839d8674d9c4023f55419fbc21e00c07.tar.bz2
mana-7fa20ba5839d8674d9c4023f55419fbc21e00c07.tar.xz
mana-7fa20ba5839d8674d9c4023f55419fbc21e00c07.zip
Fixing segmentation fault in social window
How to reproduce the bug: * Press button Leave in social window. * In the confirm dialog press No. * Then switching character makes the client crash. Trivial fix.
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r--src/gui/socialwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 7944e210..ec414836 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -144,7 +144,7 @@ public:
mGuild->getName().c_str()), BY_SERVER);
mConfirmDialog = NULL;
}
- else if (event.getId() == "~yes")
+ else if (event.getId() == "no")
{
mConfirmDialog = NULL;
}
@@ -223,7 +223,7 @@ public:
mParty->getName().c_str()), BY_SERVER);
mConfirmDialog = NULL;
}
- else if (event.getId() == "~yes")
+ else if (event.getId() == "no")
{
mConfirmDialog = NULL;
}