diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-10-05 14:00:35 +0200 |
---|---|---|
committer | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-10-05 14:00:35 +0200 |
commit | 7fa20ba5839d8674d9c4023f55419fbc21e00c07 (patch) | |
tree | fb00d41c86b13ad6d7842bf716499e10e005afe2 /src | |
parent | 671ae4cd0e26618c0662123d4b9c0d1c63acb4f6 (diff) | |
download | mana-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')
-rw-r--r-- | src/gui/socialwindow.cpp | 4 |
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; } |