From d959b8127baff7a43230546324f556361277a7c4 Mon Sep 17 00:00:00 2001 From: Rob Haarsma Date: Wed, 7 Jan 2004 23:33:40 +0000 Subject: 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. --- source/blender/src/mainqueue.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/src/mainqueue.c') 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; -- cgit v1.2.3