Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Haarsma <phaseIV@zonnet.nl>2004-01-08 02:33:40 +0300
committerRob Haarsma <phaseIV@zonnet.nl>2004-01-08 02:33:40 +0300
commitd959b8127baff7a43230546324f556361277a7c4 (patch)
tree48bc260069fd0e20084a5b2606fca27016d264dc /source/blender/src/mainqueue.c
parentf0821decffaf316715df7fbf2a1e3b64b480edc8 (diff)
Applied Daniel Fairhead's patch for a correct working DELKEY in textinput buttons.
(thanks!) Added a 'void' somewhere to silence a compiler warning. (Windows only) Moved the flip fullscreen button in the topheader a little to the right, since the questionmark button mysteriously disappeared.
Diffstat (limited to 'source/blender/src/mainqueue.c')
-rw-r--r--source/blender/src/mainqueue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/mainqueue.c b/source/blender/src/mainqueue.c
index 7d816283045..a686f490c5d 100644
--- a/source/blender/src/mainqueue.c
+++ b/source/blender/src/mainqueue.c
@@ -57,6 +57,7 @@ unsigned short mainqread(short *val, char *ascii)
*val= mainqueue[nevents].val;
*ascii= mainqueue[nevents].ascii;
+ if((*ascii<30)||(*ascii>126)) *ascii=0;
return mainqueue[nevents].event;
} else
return 0;