Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /gef/src/org/tigris/gef/base/

gef
Discussion topic

Back to topic list

CVS update: /gef/src/org/tigris/gef/base/

Reply

Author thn
Full name Thomas Neustupny
Date 2002-06-30 12:29:06 PDT
Message User: thn
Date: 02/06/30 12:29:06

Modified
 /gef/src/org/tigris/gef/base/
  ModeCreatePolyEdge.java

Log
 obtained from: Ryan Ismert
 better checking of escape character

File Changes:

Directory: /gef/src/org/tigris/gef/base/
====================​====================​

File [changed]: ModeCreatePolyEdge.java
Url: http://gef.tigris.or​g/source/browse/gef/​src/org/tigris/gef/b​ase/ModeCreatePolyEd​ge.java.diff?r1=1.4​&r2=1.5
Delta lines: +2 -2
-------------------
--- ModeCreatePolyEdge.java 16 Oct 2000 12:04:47 -0000 1.4
+++ ModeCreatePolyEdge.java 30 Jun 2002 19:29:06 -0000 1.5
@@ -24,7 +24,7 @@
 // File: ModeCreatePolyEdge.java
 // Classes: ModeCreateEdge
 // Original Author: agauthie at ics dot uci dot edu
-// $Id: ModeCreatePolyEdge.java,v 1.4 2000/10/16 12:04:47 1sturm Exp $
+// $Id: ModeCreatePolyEdge.java,v 1.5 2002/06/30 19:29:06 thn Exp $
 
 package org.tigris.gef.base;
 
@@ -260,7 +260,7 @@
   // key events
 
   public void keyTyped(KeyEvent ke) {
- if (ke.getKeyChar() == '') { // escape
+ if (ke.getKeyChar() == KeyEvent.VK_ESCAPE) { // escape
       done();
       ke.consume();
     }




--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe at gef dot tigris dot org
For additional commands, e-mail: cvs-help at gef dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /gef/src/org/tigris/gef/base/ thn Thomas Neustupny 2002-06-30 12:29:06 PDT
Messages per page: