diff options
author | Rob Haarsma <phaseIV@zonnet.nl> | 2004-01-11 14:56:08 +0300 |
---|---|---|
committer | Rob Haarsma <phaseIV@zonnet.nl> | 2004-01-11 14:56:08 +0300 |
commit | 982e299fcf4e37cb498a4a09dd53e411bf9990b1 (patch) | |
tree | ed711894a0a7354dc9d2956d8f38fa510e2bce93 | |
parent | bbe7d8d08eec5b6e9f41b58a6df6845bb3eb0344 (diff) |
Applied Daniel Fairhead's correction for a correct functioning DELKEY in text input buttons.
(thanks again !)
-rw-r--r-- | source/blender/src/mainqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/mainqueue.c b/source/blender/src/mainqueue.c index a686f490c5d..30ee825a23a 100644 --- a/source/blender/src/mainqueue.c +++ b/source/blender/src/mainqueue.c @@ -57,7 +57,7 @@ unsigned short mainqread(short *val, char *ascii) *val= mainqueue[nevents].val; *ascii= mainqueue[nevents].ascii; - if((*ascii<30)||(*ascii>126)) *ascii=0; + if((*ascii<32)||(*ascii==127)) *ascii=0; return mainqueue[nevents].event; } else return 0; |