Changeset 8703


Ignore:
Timestamp:
03/04/05 18:50:20 (16 years ago)
Author:
piso
Message:

getKeyText(): handle control characters correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/j/Utilities.java

    r8673 r8703  
    33 *
    44 * Copyright (C) 1998-2005 Peter Graves
    5  * $Id: Utilities.java,v 1.39 2005-03-01 20:22:19 piso Exp $
     5 * $Id: Utilities.java,v 1.40 2005-03-04 18:50:20 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    15181518    {
    15191519        FastStringBuffer sb = new FastStringBuffer();
    1520         if (keyChar != 0 && keyChar != 0xffff) {
     1520        if (keyChar >= ' ' && keyChar != 0xffff) {
    15211521            // Mapping is defined by character.
    15221522            if (keyChar >= 'A' && keyChar <= 'Z') {
Note: See TracChangeset for help on using the changeset viewer.