diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-16 11:53:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-16 11:53:55 +0300 |
commit | 7f968521767ec0e99d26650047d16736126aaf53 (patch) | |
tree | 8bca971fe0f2567254952327b4afb0b51bc6dc7e /source/blender/editors | |
parent | f48f8d3bbc943525ce1b4db9d58e0d2cc76b5995 (diff) |
fix for creating movie paths with non utf8 names.
button test if non utf8 chars are allowed was inverted.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 95a80df3e00..b6db799a443 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -1589,7 +1589,7 @@ static void ui_textedit_begin(bContext *C, uiBut *but, uiHandleButtonData *data) static void ui_textedit_end(bContext *C, uiBut *but, uiHandleButtonData *data) { if(but) { - if(ui_is_utf8_but(but)) { + if(!ui_is_utf8_but(but)) { int strip= BLI_utf8_invalid_strip(but->editstr, strlen(but->editstr)); /* not a file?, strip non utf-8 chars */ if(strip) { |