diff options
author | Ton Roosendaal <ton@blender.org> | 2006-11-27 12:33:43 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-11-27 12:33:43 +0300 |
commit | d7750932c40b1e0c3a62310820a8f7ad9ed0c93e (patch) | |
tree | b86aed773f85921e71600e522e0b53b0007f6118 /source/blender/src/drawtext.c | |
parent | 7101e76d9caeb305c6741bc60feb791566e4854c (diff) |
Oops! fix for typing hotkeys in texteditors... hope this works now for
non-qwerty keyboards.
Diffstat (limited to 'source/blender/src/drawtext.c')
-rw-r--r-- | source/blender/src/drawtext.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/src/drawtext.c b/source/blender/src/drawtext.c index d8e2107e145..4ad8823f225 100644 --- a/source/blender/src/drawtext.c +++ b/source/blender/src/drawtext.c @@ -1419,8 +1419,7 @@ void winqreadtextspace(ScrArea *sa, void *spacedata, BWinEvent *evt) /* smartass code to prevent the CTRL/ALT events below from not working! */ if(G.qual & (LR_ALTKEY|LR_CTRLKEY)) if(!ispunct(ascii)) - if(!isprint(ascii)) - ascii= 0; + ascii= 0; text= st->text; |