diff -r 0a494f951dcf -r 2e31f114f57e project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/LobbyChatFragment.java --- a/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/LobbyChatFragment.java Thu Jul 26 11:10:56 2012 +0200 +++ b/project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/LobbyChatFragment.java Fri Jul 27 01:38:24 2012 +0200 @@ -58,16 +58,12 @@ private final class ChatSendListener implements OnEditorActionListener { public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { - boolean handled = false; - if(actionId == EditorInfo.IME_ACTION_SEND) { - String text = v.getText().toString(); - if(text.length()>0) { - v.setText(""); - netconn.sendChat(text); - handled = true; - } + String text = v.getText().toString(); + if(text.length()>0) { + v.setText(""); + netconn.sendChat(text); } - return handled; + return true; } } }