diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-10 05:15:20 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-10 07:28:35 -0600 |
commit | 2d6e867ba8306bc662b9cf42dd403f2ebcb140a6 (patch) | |
tree | a88d742f4acbeacf909bc80b837cb64bbae06580 /src/gui/setup_players.cpp | |
parent | b1c08a56778308897b2a46d6111084044583de0e (diff) | |
download | mana-2d6e867ba8306bc662b9cf42dd403f2ebcb140a6.tar.gz mana-2d6e867ba8306bc662b9cf42dd403f2ebcb140a6.tar.bz2 mana-2d6e867ba8306bc662b9cf42dd403f2ebcb140a6.tar.xz mana-2d6e867ba8306bc662b9cf42dd403f2ebcb140a6.zip |
Remove some tabs and trailing whitespace
Diffstat (limited to 'src/gui/setup_players.cpp')
-rw-r--r-- | src/gui/setup_players.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_players.cpp b/src/gui/setup_players.cpp index 9105d44a..faf80640 100644 --- a/src/gui/setup_players.cpp +++ b/src/gui/setup_players.cpp @@ -330,7 +330,7 @@ void Setup_Players::apply() ~(PlayerRelation::TRADE | PlayerRelation::WHISPER); player_relations.setDefault(old_default_relations - | (mDefaultTrading->isSelected() ? + | (mDefaultTrading->isSelected() ? PlayerRelation::TRADE : 0) | (mDefaultWhisper->isSelected() ? PlayerRelation::WHISPER : 0)); @@ -342,7 +342,7 @@ void Setup_Players::cancel() void Setup_Players::action(const gcn::ActionEvent &event) { - if (event.getId() == ACTION_TABLE) + if (event.getId() == ACTION_TABLE) { // temporarily eliminate ourselves: we are fully aware of this change, // so there is no need for asynchronous updates. (In fact, thouse |