diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-20 15:18:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-20 15:18:57 +0400 |
commit | 2f92b5bc3fa11609e07ba7bc0859275ee3ccf12b (patch) | |
tree | 7e9ac0c7bb6f094f6b61b606df92157dbaf80c8b /source/blender/editors/curve/editfont.c | |
parent | 3d501ca70fb3811ced1fdad5e4a170d173531a94 (diff) |
fixes for unicode input, should work for operator textinput now.
Diffstat (limited to 'source/blender/editors/curve/editfont.c')
-rw-r--r-- | source/blender/editors/curve/editfont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c index dff5be059c3..c80f5c85c25 100644 --- a/source/blender/editors/curve/editfont.c +++ b/source/blender/editors/curve/editfont.c @@ -1289,7 +1289,7 @@ static int insert_text_invoke(bContext *C, wmOperator *op, wmEvent *evt) else if(event==BACKSPACEKEY) ascii= 0; - if(val && ascii) { + if(val && (ascii || evt->utf8_buf[0])) { /* handle case like TAB (== 9) */ if( (ascii > 31 && ascii < 254 && ascii != 127) || (ascii==13) || |