Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2005-03-11 05:47:46 +0000
committerslewis2005-03-11 05:47:46 +0000
commitbe23dde6d0e876b7b35bce7f0f0124524d5b11a1 (patch)
tree0da39423d7ea1cd7b9c1e910159b42e0a3ec93bc
parentb563b588f927da1689cf48b04c698a9344c571b8 (diff)
downloadorg.eclipse.ecf-be23dde6d0e876b7b35bce7f0f0124524d5b11a1.tar.gz
org.eclipse.ecf-be23dde6d0e876b7b35bce7f0f0124524d5b11a1.tar.xz
org.eclipse.ecf-be23dde6d0e876b7b35bce7f0f0124524d5b11a1.zip
Fixed bug in carriage return handling in TextChatComposite
-rw-r--r--framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/TextChatComposite.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/TextChatComposite.java b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/TextChatComposite.java
index 0a7956ef8..dae0d0b3a 100644
--- a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/TextChatComposite.java
+++ b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/views/TextChatComposite.java
@@ -342,7 +342,7 @@ public class TextChatComposite extends Composite {
}
protected void handleKeyPressed(KeyEvent evt) {
- if (evt.keyCode == SWT.CR) {
+ if (evt.character == SWT.CR) {
handleEnter();
}
}

Back to the top