diff options
author | Ton Roosendaal <ton@blender.org> | 2003-07-10 00:09:07 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-07-10 00:09:07 +0400 |
commit | 1e666dd1cdfbf35c4f4b7f625ad3a55a2543cb50 (patch) | |
tree | 60ec96a50d5a281505ead60b5e191925c05bc3ac | |
parent | 5aa8ac36a1505ef86f4f5bb16735402a66fa4db7 (diff) |
- this smartass hack, which was removed from editscreen.c, was needed for
the textwindow. doh!
now you can press alt+p in textwindow again!
-rw-r--r-- | source/blender/src/drawtext.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/drawtext.c b/source/blender/src/drawtext.c index 20321b74b78..6623b101208 100644 --- a/source/blender/src/drawtext.c +++ b/source/blender/src/drawtext.c @@ -887,6 +887,9 @@ void winqreadtextspace(ScrArea *sa, void *spacedata, BWinEvent *evt) return; } + /* smartass code to prevent the events below from not working! */ + if (!isprint(ascii) || (G.qual & ~LR_SHIFTKEY)) ascii= 0; + text= st->text; if (!text) { |